]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Move getopt_long.h to missing.
authorGuy Harris <[email protected]>
Sat, 15 Sep 2018 02:21:06 +0000 (19:21 -0700)
committerGuy Harris <[email protected]>
Sat, 15 Sep 2018 02:21:06 +0000 (19:21 -0700)
That's what we did for win_ether_ntohost.h.

Makefile.in
missing/getopt_long.h [moved from getopt_long.h with 100% similarity]
tcpdump.c

index 545cc33d575ea464476d165c59a5b8f71ebfaf40..419dfd67cc49d34ea59c30483ef9b735962ec38d 100644 (file)
@@ -263,7 +263,6 @@ HDR = \
        ethertype.h \
        extract.h \
        funcattrs.h \
-       getopt_long.h \
        getservent.h \
        gmpls.h \
        interface.h \
@@ -349,6 +348,7 @@ EXTRA_DIST = \
        makemib \
        missing/dlnames.c \
        missing/datalinks.c \
+       missing/getopt_long.h \
        missing/getopt_long.c \
        missing/getservent.c \
        missing/pcap_dump_ftell.c \
similarity index 100%
rename from getopt_long.h
rename to missing/getopt_long.h
index 7cd076340bd51571b84a1ad875c0e55b37d2da8f..32075b51ade51b208048cd470d300028a2f7fcf3 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -74,7 +74,7 @@ The Regents of the University of California.  All rights reserved.\n";
 #ifdef HAVE_GETOPT_LONG
 #include <getopt.h>
 #else
-#include "getopt_long.h"
+#include "missing/getopt_long.h"
 #endif
 /* Capsicum-specific code requires macros from <net/bpf.h>, which will fail
  * to compile if <pcap.h> has already been included; including the headers