]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.c
Require config.h to be from the tcpdump build.
[tcpdump] / tcpdump.c
index 96e8906b933a6cf00ec38fee3c5d69ee5c18525e..36c7325967cb4fa5f845ff8b47e54241f181c153 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -34,6 +34,9 @@
  */
 
 #include <config.h>
+#ifndef TCPDUMP_CONFIG_H_
+#error "The included config.h header is not from the tcpdump build."
+#endif
 
 #include "netdissect-stdinc.h"
 
@@ -141,7 +144,6 @@ The Regents of the University of California.  All rights reserved.\n";
 #include "netdissect.h"
 #include "interface.h"
 #include "addrtoname.h"
-#include "pcap-missing.h"
 #include "ascii_strcasecmp.h"
 
 #include "print.h"