]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Include <time.h>, if possible, to declare "ctime()".
authorguy <guy>
Sat, 20 Apr 2002 09:40:42 +0000 (09:40 +0000)
committerguy <guy>
Sat, 20 Apr 2002 09:40:42 +0000 (09:40 +0000)
print-radius.c

index db6fed6c1db739aaee814d2f6ff476430955aff4..a9b815f1e7708403a8eb22e8fb3e056909685bb0 100644 (file)
@@ -44,7 +44,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "$Id: print-radius.c,v 1.10 2001-10-22 06:58:33 itojun Exp $";
+    "$Id: print-radius.c,v 1.11 2002-04-20 09:40:42 guy Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -59,6 +59,10 @@ static const char rcsid[] =
 
 #include <stdio.h>
 
+#ifdef TIME_WITH_SYS_TIME
+#include <time.h>
+#endif
+
 #include "interface.h"
 #include "addrtoname.h"
 #include "extract.h"