summaryrefslogtreecommitdiff
path: root/extcap.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@wireshark.org>2016-08-02 14:31:37 +0200
committerMichael Tüxen <tuexen@wireshark.org>2016-08-02 12:33:52 +0000
commit18f775af55ddf60aa72b4d2b3d635701d1ac50b1 (patch)
tree145464311ddb1e9176122de605c8b7b845a16aed /extcap.c
parent6343e1dc67b3c99f2ac900b026ad00ee2d04b063 (diff)
downloadwireshark-18f775af55ddf60aa72b4d2b3d635701d1ac50b1.tar.gz
Fix compilation on FreeBSD.
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>
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/extcap.c b/extcap.c
index 103e8e0152..78d357acd6 100644
--- a/extcap.c
+++ b/extcap.c
@@ -37,6 +37,13 @@
#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>