17 lines
357 B
C
17 lines
357 B
C
$NetBSD: patch-extcap.c,v 1.2 2016/09/12 11:04:54 wiz Exp $
|
|
|
|
Fix linking on NetBSD.
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12883
|
|
|
|
--- extcap.c.orig 2016-09-07 16:59:05.000000000 +0000
|
|
+++ extcap.c
|
|
@@ -35,6 +35,8 @@
|
|
#else
|
|
/* Include for unlink */
|
|
#include <unistd.h>
|
|
+/* for WEXITSTATUS */
|
|
+#include <sys/wait.h>
|
|
#endif
|
|
|
|
#include <glib.h>
|