diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.netware | 1 | ||||
-rw-r--r-- | src/config-amigaos.h | 3 | ||||
-rw-r--r-- | src/config-mac.h | 1 | ||||
-rw-r--r-- | src/config-riscos.h | 3 | ||||
-rw-r--r-- | src/config-win32.h | 3 | ||||
-rw-r--r-- | src/main.c | 1 |
6 files changed, 10 insertions, 2 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware index 85e0c92ee..0b0e8355d 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -491,6 +491,7 @@ endif @echo $(DL)#define USE_MANUAL 1$(DL) >> $@ @echo $(DL)#define HAVE_ARPA_INET_H 1$(DL) >> $@ @echo $(DL)#define HAVE_ASSERT_H 1$(DL) >> $@ + @echo $(DL)#define HAVE_ERRNO_H 1$(DL) >> $@ @echo $(DL)#define HAVE_ERR_H 1$(DL) >> $@ @echo $(DL)#define HAVE_FCNTL_H 1$(DL) >> $@ @echo $(DL)#define HAVE_GETHOSTBYADDR 1$(DL) >> $@ diff --git a/src/config-amigaos.h b/src/config-amigaos.h index fba875dab..7f8e0a869 100644 --- a/src/config-amigaos.h +++ b/src/config-amigaos.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -30,6 +30,7 @@ #define OS "AmigaOS" #define HAVE_CLOSESOCKET_CAMEL 1 +#define HAVE_ERRNO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRDUP 1 #define HAVE_UTIME 1 diff --git a/src/config-mac.h b/src/config-mac.h index f8aeb7a66..19c24c760 100644 --- a/src/config-mac.h +++ b/src/config-mac.h @@ -32,6 +32,7 @@ #define USE_MANUAL 1 #define HAVE_UNISTD_H 1 +#define HAVE_ERRNO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_UTIME_H 1 diff --git a/src/config-riscos.h b/src/config-riscos.h index 7816bab13..c9aa7bcc0 100644 --- a/src/config-riscos.h +++ b/src/config-riscos.h @@ -91,6 +91,9 @@ /* Define if you have the <des.h> header file. */ #undef HAVE_DES_H +/* Define if you have the <errno.h> header file. */ +#define HAVE_ERRNO_H + /* Define if you have the <err.h> header file. */ #undef HAVE_ERR_H diff --git a/src/config-win32.h b/src/config-win32.h index 38a329826..e5cbcf0df 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -30,6 +30,9 @@ /* HEADER FILES */ /* ---------------------------------------------------------------- */ +/* Define if you have the <errno.h> header file. */ +#define HAVE_ERRNO_H 1 + /* Define if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 diff --git a/src/main.c b/src/main.c index a68963df0..db4405c4a 100644 --- a/src/main.c +++ b/src/main.c @@ -34,7 +34,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <ctype.h> -#include <errno.h> #if defined(MSDOS) || defined(WIN32) # if defined(HAVE_LIBGEN_H) && defined(HAVE_BASENAME) |