"inet_pton()" isn't getting declared on Windows; include "inet_v6defs.h"
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 1 Jan 2005 23:40:56 +0000 (23:40 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 1 Jan 2005 23:40:56 +0000 (23:40 +0000)
if NEED_INET_V6DEFS_H is defined, as is done in "packet-sdp.c", the
other module using "inet_pton()".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12920 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-tacacs.c

index 25e6fcfb854c70004267e643448034783a19d81f..ba932bfe3c5152cf76391a2cec59a48e10c1c642 100644 (file)
 #include <winsock2.h>          /* needed to define AF_ values on Windows */
 #endif
 
+#ifdef NEED_INET_V6DEFS_H
+# include "inet_v6defs.h"
+#endif
+
 #include <glib.h>
 #include <epan/packet.h>