]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.c
Don't test for __attribute__ in the configure script.
[tcpdump] / tcpdump.c
index 86c4c150f7f055d4bcaf9aa0ab9b4ed613c4f900..ddd5551d2e4dac110dd8f6ae35060c58cf4e3d37 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
  *     Seth Webster <[email protected]>
  */
 
-#ifndef lint
-static const char copyright[] _U_ =
-    "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
-The Regents of the University of California.  All rights reserved.\n";
-#endif
-
 /*
  * tcpdump - dump traffic on a network
  *
@@ -57,6 +51,16 @@ The Regents of the University of California.  All rights reserved.\n";
 
 #include "netdissect-stdinc.h"
 
+/*
+ * This must appear after including netdissect-stdinc.h, so that _U_ is
+ * defined.
+ */
+#ifndef lint
+static const char copyright[] _U_ =
+    "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
+The Regents of the University of California.  All rights reserved.\n";
+#endif
+
 #include <sys/stat.h>
 
 #ifdef HAVE_FCNTL_H