]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Include <netdb.h> where h_errno is used. Likewise for <errno.h> and errno.
[wget] / src / main.c
index 221ac5ae3d93824a0407d9112ca0c4f9053a8a24..7db0ba0288f076b3306ca28f6f837bc948d4de5c 100644 (file)
@@ -39,6 +39,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 # include <locale.h>
 #endif /* HAVE_LOCALE_H */
 #endif /* HAVE_NLS */
+#include <errno.h>
 
 #define OPTIONS_DEFINED_HERE   /* for options.h */