]> The Tcpdump Group git mirrors - libpcap/commit
Include <netdb.h> before <pcap-namedb.h>, as <netdb.h> is included to
authorguy <guy>
Sun, 7 Apr 2002 00:04:37 +0000 (00:04 +0000)
committerguy <guy>
Sun, 7 Apr 2002 00:04:37 +0000 (00:04 +0000)
commit1d35b4b5904bfaf67721917b00c2143a096a9082
tree3e0faa4363759640df54eb03cb10736cdf45d9cc
parent705943d1bc9e5abed49fa7c5fb82c674ab57a918
Include <netdb.h> before <pcap-namedb.h>, as <netdb.h> is included to
define a structure used by <pcap-namedb.h> (only a pointer to the
structure is used in <pcap-namedb.h>, so code will compile no matter
which order you include them in, but it's a bit cleaner to include
<netdb.h> first).  Indicate why we're including <netdb.h>.
gencode.c