]> The Tcpdump Group git mirrors - libpcap/commit
Move the definition of strdup to portability.h.
authorGuy Harris <[email protected]>
Fri, 29 Jul 2016 04:40:12 +0000 (21:40 -0700)
committerGuy Harris <[email protected]>
Fri, 29 Jul 2016 04:40:12 +0000 (21:40 -0700)
commit4ab1b77f9593330e0861ba908d4deb8959461b19
tree646d06d83c0cf3ed41ec4b6c110d85c5ff914356
parenteeee5694eb0620ec38423700d7a9e7bd26c87dd2
Move the definition of strdup to portability.h.

That way, code such as sockutils.c that doesn't include any pcap header
files (because it doesn't use pcap) can still get it defined.
pcap-stdinc.h
portability.h