-/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.17 2007/11/15 21:14:44 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.18 2010/01/28 11:36:14 mha Exp $ */
/*
* Sort this out for all operating systems some time. The __xxx
* still use our own fix for the buggy version.
*/
#define HAVE_BUGGY_SOLARIS_STRTOD
+
+/*
+ * Many versions of Solaris are missing the definition of INADDR_NONE
+ */
+#ifndef INADDR_NONE
+#define INADDR_NONE ((in_addr_t)(-1))
+#endif
+