summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/config-amigaos.h1
-rw-r--r--lib/config-dos.h1
-rw-r--r--lib/config-mac.h1
-rw-r--r--lib/config-os400.h3
-rw-r--r--lib/config-plan9.h1
-rw-r--r--lib/config-riscos.h3
-rw-r--r--lib/config-win32.h4
-rw-r--r--lib/config-win32ce.h3
-rw-r--r--lib/curl_config.h.cmake3
-rw-r--r--lib/curl_setup_once.h3
10 files changed, 0 insertions, 23 deletions
diff --git a/lib/config-amigaos.h b/lib/config-amigaos.h
index 20ea27df7..baf592cb3 100644
--- a/lib/config-amigaos.h
+++ b/lib/config-amigaos.h
@@ -32,7 +32,6 @@
#define HAVE_ARPA_INET_H 1
#define HAVE_CLOSESOCKET_CAMEL 1
-#define HAVE_ERRNO_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_IOCTLSOCKET_CAMEL 1
#define HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1
diff --git a/lib/config-dos.h b/lib/config-dos.h
index 2380182a0..9cbb8fc80 100644
--- a/lib/config-dos.h
+++ b/lib/config-dos.h
@@ -44,7 +44,6 @@
#define USE_MANUAL 1
#define HAVE_ARPA_INET_H 1
-#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GETADDRINFO 1
diff --git a/lib/config-mac.h b/lib/config-mac.h
index b1bfa43e7..0ee185f8f 100644
--- a/lib/config-mac.h
+++ b/lib/config-mac.h
@@ -37,7 +37,6 @@
/* Define if you want the built-in manual */
#define USE_MANUAL 1
-#define HAVE_ERRNO_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETDB_H 1
diff --git a/lib/config-os400.h b/lib/config-os400.h
index e733e36e3..17f7f05f8 100644
--- a/lib/config-os400.h
+++ b/lib/config-os400.h
@@ -80,9 +80,6 @@
/* Define if you have the `closesocket' function. */
#undef HAVE_CLOSESOCKET
-/* Define if you have the <errno.h> header file. */
-#define HAVE_ERRNO_H
-
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H
diff --git a/lib/config-plan9.h b/lib/config-plan9.h
index 0d89ec0a4..8517591ae 100644
--- a/lib/config-plan9.h
+++ b/lib/config-plan9.h
@@ -78,7 +78,6 @@
#define HAVE_ARPA_INET_H 1
#define HAVE_BASENAME 1
#define HAVE_BOOL_T 1
-#define HAVE_ERRNO_H 1
#define HAVE_FCNTL 1
#define HAVE_FCNTL_H 1
#define HAVE_FREEADDRINFO 1
diff --git a/lib/config-riscos.h b/lib/config-riscos.h
index 349fd8cac..a29ea7155 100644
--- a/lib/config-riscos.h
+++ b/lib/config-riscos.h
@@ -81,9 +81,6 @@
/* Define if you have the `closesocket' function. */
#undef HAVE_CLOSESOCKET
-/* Define if you have the <errno.h> header file. */
-#define HAVE_ERRNO_H
-
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H
diff --git a/lib/config-win32.h b/lib/config-win32.h
index a48282141..7c9bde610 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -35,9 +35,6 @@
/* Define if you have the <arpa/inet.h> header file. */
/* #define HAVE_ARPA_INET_H 1 */
-/* 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
@@ -339,7 +336,6 @@
# undef USE_WINSOCK
# undef HAVE_WINSOCK2_H
# undef HAVE_WS2TCPIP_H
-# undef HAVE_ERRNO_H
# undef HAVE_GETHOSTNAME
# undef LWIP_POSIX_SOCKETS_IO_NAMES
# undef RECV_TYPE_ARG1
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h
index deaa1c7f7..30829b482 100644
--- a/lib/config-win32ce.h
+++ b/lib/config-win32ce.h
@@ -35,9 +35,6 @@
/* Define if you have the <arpa/inet.h> header file. */
/* #define HAVE_ARPA_INET_H 1 */
-/* 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/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 67eb74473..8f8964e64 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -171,9 +171,6 @@
/* Define to 1 if you have the `closesocket' function. */
#cmakedefine HAVE_CLOSESOCKET 1
-/* Define to 1 if you have the <errno.h> header file. */
-#cmakedefine HAVE_ERRNO_H 1
-
/* Define to 1 if you have the fcntl function. */
#cmakedefine HAVE_FCNTL 1
diff --git a/lib/curl_setup_once.h b/lib/curl_setup_once.h
index c53b0aad7..ac4a7f1b3 100644
--- a/lib/curl_setup_once.h
+++ b/lib/curl_setup_once.h
@@ -34,10 +34,7 @@
#include <string.h>
#include <stdarg.h>
#include <time.h>
-
-#ifdef HAVE_ERRNO_H
#include <errno.h>
-#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>