Added include to ex.c.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 3 Oct 2013 18:23:19 +0000 (20:23 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 3 Oct 2013 18:23:19 +0000 (20:23 +0200)
<sys/wait.h> is needed for WIFEXITED and WEXITSTATUS macros.

Thanks Leonardo Taccari for this patch.

src/ex.c

index 694f277..128f009 100644 (file)
--- a/src/ex.c
+++ b/src/ex.c
@@ -22,6 +22,7 @@
  * commands from inputbox and the ex commands.
  */
 #include <ctype.h>
+#include <sys/wait.h>
 #include "config.h"
 #include "main.h"
 #include "ex.h"