]> The Tcpdump Group git mirrors - tcpdump/commit
netdissect-stdinc: get rid of an extra definition of strdup.
authorGuy Harris <[email protected]>
Mon, 9 Sep 2024 22:09:01 +0000 (15:09 -0700)
committerGuy Harris <[email protected]>
Tue, 10 Sep 2024 02:41:22 +0000 (19:41 -0700)
commit18ea57e19bece03d36c897a540f47f01a5bc06e6
tree913aab9aedb0716a62529159096dbf5424869d8d
parenta9a8f757b99dd623d3900aab92fdae18263b7ce5
netdissect-stdinc: get rid of an extra definition of strdup.

We first unconditionally define it, and then later only define it if
it's already defined.  Microsoft defines it for us, but has deprecated
that definition because it pollutes the ISO C namespace with a POSIXism;
try just doing the conditional definition.
netdissect-stdinc.h