aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-27 12:45:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-27 12:45:51 +0000
commitdcb6d1c01d38b9f9e3200c3986abdc37c72b93b6 (patch)
treed8593f99fc41b96c3925d0e278d8030e72894523 /include
parent18234cbdaced6adb7c4dadd9afbed7476f0f50b1 (diff)
remove usage of HAVE_* defines, we cannot and shall not depend on any such
defines in the public external header files
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 *);