summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index be696cf..0982189 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,4 +1,4 @@
-/* $Id: common.h,v 1.5 2003-03-13 19:31:09 rjkaes Exp $
+/* $Id: common.h,v 1.6 2003-06-25 18:20:22 rjkaes Exp $
*
* This file groups all the headers required throughout the tinyproxy
* system. All this information use to be in the "tinyproxy.h" header,
@@ -171,6 +171,13 @@
#define MAXLISTEN 1024 /* Max number of connections */
+/*
+ * SunOS doesn't have INADDR_NONE defined.
+ */
+#ifndef INADDR_NONE
+# define INADDR_NONE -1
+#endif
+
/* Define boolean values */
#ifndef FALSE
# define FALSE 0