diff --git a/trunk/src/common/util.c b/trunk/src/common/util.c index 87cdd97ce7..f3ffe676e7 100644 --- a/trunk/src/common/util.c +++ b/trunk/src/common/util.c @@ -8,6 +8,12 @@ #include #endif +/* used by inet_addr, not defined on solaris anywhere!? */ +#ifndef INADDR_NONE +#define INADDR_NONE ((unsigned long) -1) +#endif + +/* in-line the strl functions */ #ifndef HAVE_STRLCPY #include "strlcpy.c" #endif