]> The Tcpdump Group git mirrors - libpcap/commitdiff
To use getopt, we need getopt.h on Windows.
authorGuy Harris <[email protected]>
Wed, 8 Nov 2017 22:41:48 +0000 (14:41 -0800)
committerGuy Harris <[email protected]>
Wed, 8 Nov 2017 22:41:48 +0000 (14:41 -0800)
tests/threadsignaltest.c

index df5ac63b2aacf24778b04184fe5d7cb9c904db58..dfb3ecbbea43935a702019a062c3cafee77e654c 100644 (file)
@@ -36,6 +36,8 @@ The Regents of the University of California.  All rights reserved.\n";
 
   #define THREAD_HANDLE                        HANDLE
   #define THREAD_FUNC_RETURN_TYPE      int
+
+  #include "getopt.h"
 #else
   #include <pthread.h>
   #include <signal.h>