diff options
author | guy <guy> | 2002-04-20 09:40:42 +0000 |
---|---|---|
committer | guy <guy> | 2002-04-20 09:40:42 +0000 |
commit | a5f26e72fe8e66fe80d54e17e5b9b17043ea63a7 (patch) | |
tree | 4397f2873ac46873de710dba5adb6e7160ed4aa8 /print-radius.c | |
parent | 4bc49330ddddb0961e7eabc30a40cb3c102e42c8 (diff) | |
download | tcpdump-a5f26e72fe8e66fe80d54e17e5b9b17043ea63a7.tar.gz |
Include <time.h>, if possible, to declare "ctime()".
Diffstat (limited to 'print-radius.c')
-rw-r--r-- | print-radius.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/print-radius.c b/print-radius.c index db6fed6c..a9b815f1 100644 --- a/print-radius.c +++ b/print-radius.c @@ -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" |