aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils.c')
-rw-r--r--src/Utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Utils.c b/src/Utils.c
index 9ad122b..03af45b 100644
--- a/src/Utils.c
+++ b/src/Utils.c
@@ -57,6 +57,12 @@ u_short ntohs();
u_long inet_addr();
#endif
+/* SunOS doesn't know INADDR_NONE */
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+
+
extern int errno;
/*@@