]> The Tcpdump Group git mirrors - tcpdump/commitdiff
<sys/cdefs.h>: conditionalize
authorassar <assar>
Fri, 7 Jan 2000 16:34:59 +0000 (16:34 +0000)
committerassar <assar>
Fri, 7 Jan 2000 16:34:59 +0000 (16:34 +0000)
print-ascii.c
print-telnet.c

index 6a6b845a95f9428b6b947f44891953fdbe61561d..b2a78a031f65042349c2e8fa246a283105b35896 100644 (file)
@@ -40,7 +40,9 @@
 #include "config.h"
 #endif
 
+#ifdef HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
+#endif
 #if 0
 #ifndef lint
 __RCSID("$NetBSD: print-ascii.c,v 1.1 1999/09/30 14:49:12 sjg Exp $");
index 505369c56f487b3876b29e54d9aa810ca434f108..1e500de2847e8844563fb8855e8322a40f89464d 100644 (file)
@@ -49,7 +49,9 @@
 #include "config.h"
 #endif
 
+#ifdef HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
+#endif
 #if 0
 #ifndef lint
 __RCSID("$NetBSD: print-telnet.c,v 1.2 1999/10/11 12:40:12 sjg Exp $");