Fix build on FreeBSD (#1381)

Including <sys/wait.h> is required on FreeBSD for WIFEXITED and another couple
of macros.

This includes sys/types.h and sys/wait.h always as described in waitpid(2).
This commit is contained in:
Renato Botelho 2017-01-13 19:23:49 -02:00 committed by Daniel Hahler
parent 1f032fd825
commit 18cb05d232
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@
#include "spawn.h"
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <glib.h>