diff options
-rw-r--r-- | src/common/util.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index 87cdd97ce7..f3ffe676e7 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -8,6 +8,12 @@ #include <sys/utsname.h> #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 |