summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-09-14 19:21:06 -0700
committerGuy Harris <guy@alum.mit.edu>2018-09-14 19:21:06 -0700
commit89576203dda204301600e0ca9292dc61f4911ea8 (patch)
treed43a8f9b1f2127627153bfa966864a9ecef13c79
parentec11595998eb44b6ad129d0a4b4ac4c301770e64 (diff)
downloadtcpdump-89576203dda204301600e0ca9292dc61f4911ea8.tar.gz
Move getopt_long.h to missing.
That's what we did for win_ether_ntohost.h.
-rw-r--r--Makefile.in2
-rw-r--r--missing/getopt_long.h (renamed from getopt_long.h)0
-rw-r--r--tcpdump.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 545cc33d..419dfd67 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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 \
diff --git a/getopt_long.h b/missing/getopt_long.h
index fbb94e6b..fbb94e6b 100644
--- a/getopt_long.h
+++ b/missing/getopt_long.h
diff --git a/tcpdump.c b/tcpdump.c
index 7cd07634..32075b51 100644
--- 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