aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/inet_ntoa_r.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/inet_ntoa_r.h b/lib/inet_ntoa_r.h
new file mode 100644
index 000000000..7959c49c2
--- /dev/null
+++ b/lib/inet_ntoa_r.h
@@ -0,0 +1,9 @@
+#ifndef __INET_NTOA_R_H
+#define __INET_NTOA_R_H
+/*
+ * My solaris 5.6 system running gcc 2.8.1 does *not* have this prototype
+ * in any system include file! Isn't that weird?
+ */
+char *inet_ntoa_r(const struct in_addr in, char *buffer, int buflen);
+
+#endif