summaryrefslogtreecommitdiff
path: root/m4/curl-functions.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/curl-functions.m4')
-rw-r--r--m4/curl-functions.m410
1 files changed, 2 insertions, 8 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index 9691ed245..d49713df6 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -453,17 +453,11 @@ curl_includes_time="\
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
-# ifdef TIME_WITH_SYS_TIME
-# include <time.h>
-# endif
-#else
-# ifdef HAVE_TIME_H
-# include <time.h>
-# endif
#endif
+#include <time.h>
/* includes end */"
AC_CHECK_HEADERS(
- sys/types.h sys/time.h time.h,
+ sys/types.h sys/time.h,
[], [], [$curl_includes_time])
])