summaryrefslogtreecommitdiff
path: root/lib/curl_setup_once.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2022-11-27 16:12:12 -0500
committerJay Satiro <raysatiro@yahoo.com>2022-12-07 14:41:09 -0500
commitfe3463eba7aebd0fc0d530c7cf81ef467b6cef9b (patch)
treea422f99f40d718d680e3da013f268979f8472cd0 /lib/curl_setup_once.h
parent57d3477e77629430889a4159d2bf803892caf7c7 (diff)
downloadcurl-fe3463eba7aebd0fc0d530c7cf81ef467b6cef9b.tar.gz
build: assume errno.h is always available
- Remove errno.h detection from all build configurations. errno.h is a standard header according to C89. Closes https://github.com/curl/curl/pull/9986
Diffstat (limited to 'lib/curl_setup_once.h')
-rw-r--r--lib/curl_setup_once.h3
1 files changed, 0 insertions, 3 deletions
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>