]> sjero.net Git - wget/commitdiff
[svn] Define NO_ADDRESS only after the system headers have been included.
authorhniksic <devnull@localhost>
Thu, 7 Apr 2005 20:43:26 +0000 (13:43 -0700)
committerhniksic <devnull@localhost>
Thu, 7 Apr 2005 20:43:26 +0000 (13:43 -0700)
src/ChangeLog
src/host.c

index 67694db14aa9520ba2c54a539398e4361832413f..a63c33739aa23b8bcf004879645fafe9427247e9 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-07  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * host.c (NO_ADDRESS): Define NO_ADDRESS only after the system
+       headers have been included.
+
 2005-04-06  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * http.c (pconn): Include NTLM data, which is per-connection.
index 272ed4f1629160e454650a93057cb506d6f7757d..585b93c7ea8ffa73834fbeb8e16087e1bddf8269 100644 (file)
@@ -55,10 +55,6 @@ so, delete this exception statement from your version.  */
 # define SET_H_ERRNO(err) WSASetLastError (err)
 #endif /* WINDOWS */
 
-#ifndef NO_ADDRESS
-# define NO_ADDRESS NO_DATA
-#endif
-
 #include <errno.h>
 
 #include "wget.h"
@@ -78,6 +74,10 @@ extern int h_errno;
 # endif
 #endif
 
+#ifndef NO_ADDRESS
+# define NO_ADDRESS NO_DATA
+#endif
+
 /* Lists of IP addresses that result from running DNS queries.  See
    lookup_host for details.  */