Fix compilation on FreeBSD.
authorMichael Tuexen <tuexen@wireshark.org>
Tue, 2 Aug 2016 12:31:37 +0000 (14:31 +0200)
committerMichael Tüxen <tuexen@wireshark.org>
Tue, 2 Aug 2016 12:33:52 +0000 (12:33 +0000)
Includes are needed for using macros like WIFEXITED.

Change-Id: Ia09ca58eeab2d151a756d285b0aeb55141c4d24a
Reviewed-on: https://code.wireshark.org/review/16841
Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
extcap.c

index 103e8e0152c49703a6f68c888884bb86f33fd40d..78d357acd616c7db1da8b26124d35cf55439d0e8 100644 (file)
--- a/extcap.c
+++ b/extcap.c
 #include <unistd.h>
 #endif
 
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
 #include <glib.h>
 #include <log.h>