define INADDR_NONE so we compile on solaris

svn:r1295
This commit is contained in:
Roger Dingledine
2004-03-18 19:59:39 +00:00
parent e432107944
commit a3e62bb56e
+6
View File
@@ -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