summaryrefslogtreecommitdiff
path: root/print-forces.c
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2023-02-15 09:20:02 +0000
committerDenis Ovsienko <denis@ovsienko.info>2023-02-15 09:36:39 +0000
commit695ce83d0ad8eeaec1e1dec218279ac2d2168189 (patch)
tree54c2ef0e71b47c6aa0530ed4489d05ccf3a536c3 /print-forces.c
parent17fb9526b1feff7875e3ec00427dfcb8096e8621 (diff)
downloadtcpdump-695ce83d0ad8eeaec1e1dec218279ac2d2168189.tar.gz
Include <time.h> from netdissect.h.
netdissect.h since commit 7578e1c requires <time.h> for struct tm. The dependency is difficult to notice because the warning pops up when compiling strdup.c only and only on Linux, and Linux most certainly has strdup(), so normally strdup.c is never compiled on Linux. Make it correct anyway to eliminate a space for future surprises in other files. $ make strdup.o In file included from ./missing/strdup.c:38: ./netdissect.h:441:38: warning: 'struct tm' declared inside parameter list will not be visible outside of this definition or declaration gcc (Debian 10.2.1-6) 10.2.1 20210110
Diffstat (limited to 'print-forces.c')
0 files changed, 0 insertions, 0 deletions