summaryrefslogtreecommitdiff
path: root/snmplib/inet_pton.h
diff options
context:
space:
mode:
Diffstat (limited to 'snmplib/inet_pton.h')
-rw-r--r--snmplib/inet_pton.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/snmplib/inet_pton.h b/snmplib/inet_pton.h
new file mode 100644
index 0000000..c33f695
--- /dev/null
+++ b/snmplib/inet_pton.h
@@ -0,0 +1,10 @@
+#ifndef _INET_PTON_H
+#define _INET_PTON_H
+
+#include <net-snmp/net-snmp-config.h>
+
+#ifndef HAVE_INET_PTON
+int inet_pton(int af, const char *src, void *dst);
+#endif /*HAVE_INET_PTON */
+
+#endif /*_INET_PTON_H*/