Added missed include to compile on NetBSD.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 3 Oct 2013 18:16:46 +0000 (20:16 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 3 Oct 2013 18:16:46 +0000 (20:16 +0200)
<sys/wait.h> is needed for WIFEXITED and WEXITSTATUS macros.

Thanks Leonardo Taccari for this patch.

src/command.c

index cc70721..f32d6cc 100644 (file)
@@ -17,6 +17,7 @@
  * along with this program. If not, see http://www.gnu.org/licenses/.
  */
 
+#include <sys/wait.h>
 #include "config.h"
 #include "main.h"
 #include "command.h"