* Moved the definition of INADDR_NONE to webcit.h, where it will be effective
authorArt Cancro <ajc@citadel.org>
Mon, 21 Nov 2005 03:24:03 +0000 (03:24 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 21 Nov 2005 03:24:03 +0000 (03:24 +0000)
  in all locations where it is needed.  Fixes the build on Solaris 10.

webcit/ChangeLog
webcit/tcp_sockets.c
webcit/webcit.h

index ce627fc6c7dfe6282cf6ca69603924b9de820218..8c185bbf53c21e0cc050735c2476a8343a04d0f1 100644 (file)
@@ -1,5 +1,9 @@
 $Id$
 
+Sun Nov 20 22:22:37 EST 2005 ajc
+* Moved the definition of INADDR_NONE to webcit.h, where it will be effective
+  in all locations where it is needed.  Fixes the build on Solaris 10.
+
 Fri Nov 18 23:55:29 EST 2005 ajc
 * Put in some infrastructure for generating and maintaining .po files
 
index 2b613712afb30f9db771d61a42569ec59e9b1a54..80656a97480c0a54675a8d8eb11135e1d4c1d2ed 100644 (file)
 #include "webcit.h"
 #include "webserver.h"
 
-#ifndef INADDR_NONE
-#define INADDR_NONE 0xffffffff
-#endif
-
 RETSIGTYPE timeout(int signum)
 {
        lprintf(1, "Connection timed out.\n");
@@ -24,7 +20,6 @@ RETSIGTYPE timeout(int signum)
 }
 
 
-
 /*
  * Connect a unix domain socket
  */
index 91f185cc6c79dec52c8eb5a4f2a4c27b2491f9f5..97ed8524583543c2a531a8a279a6d529d8d0d641 100644 (file)
 #include <signal.h>
 #include <sys/utsname.h>
 
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffff
+#endif
+
 #ifdef HAVE_ICONV
 #include <iconv.h>
 #endif