diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-08-22 07:19:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-08-22 07:19:28 +0000 |
commit | bf9895bb261626beb04ef8ece8636b6077221405 (patch) | |
tree | c4c025d8ab41949598187ca8cdbfd25927faec39 /packet-null.c | |
parent | b9ed78d5eb2dbdf48d68110e258d450f39adf650 (diff) |
Remove the include of <sys/time.h> from "file.h" - it's neither
necessary nor sufficient if you're using "struct tm" (on many, perhaps
most, perhaps even all modern UNIXes, <sys/time.h> includes <time.h>,
which declares "struct tm", but that's not necessarily the case on
non-UNIX systems).
Include <time.h> in "file.c", to declare "struct tm".
Don't use PCAP_ERRBUF_SIZE to declare a message string buffer - that
won't work if you don't have "libpcap".
svn path=/trunk/; revision=549
Diffstat (limited to 'packet-null.c')
0 files changed, 0 insertions, 0 deletions