diff options
author | guy <guy> | 2002-04-20 09:42:57 +0000 |
---|---|---|
committer | guy <guy> | 2002-04-20 09:42:57 +0000 |
commit | b2cfabc32d463acb40d1d44218a26cb937a6d81e (patch) | |
tree | 6f5fe6a37946c2584b992836e303bf9de0e2283b /print-rx.c | |
parent | a5f26e72fe8e66fe80d54e17e5b9b17043ea63a7 (diff) | |
download | tcpdump-b2cfabc32d463acb40d1d44218a26cb937a6d81e.tar.gz |
Protect includes of <time.h> with "#ifdef TIME_WITH_SYS_TIME".
Diffstat (limited to 'print-rx.c')
-rw-r--r-- | print-rx.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,7 +34,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.27 2001-10-20 07:41:55 itojun Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.28 2002-04-20 09:42:57 guy Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -44,7 +44,9 @@ static const char rcsid[] = #include <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef TIME_WITH_SYS_TIME #include <time.h> +#endif #include <sys/param.h> #include <sys/time.h> #include <sys/types.h> |