aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h6
-rw-r--r--include/curl/stdcheaders.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 9de5d84ff..c53e29f13 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -34,11 +34,7 @@
# include <sys/time.h>
# include <time.h>
# else
-# ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
+ include <sys/time.h>
# endif
#endif /* defined (vms) */
diff --git a/include/curl/stdcheaders.h b/include/curl/stdcheaders.h
index 62be040ca..b6a1d27d9 100644
--- a/include/curl/stdcheaders.h
+++ b/include/curl/stdcheaders.h
@@ -23,9 +23,7 @@
* $Id$
***************************************************************************/
-#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-#endif
size_t fread (void *, size_t, size_t, FILE *);
size_t fwrite (const void *, size_t, size_t, FILE *);