]> granicus.if.org Git - curl/commitdiff
remove usage of HAVE_* defines, we cannot and shall not depend on any such
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2003 12:45:51 +0000 (12:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2003 12:45:51 +0000 (12:45 +0000)
defines in the public external header files

include/curl/curl.h
include/curl/stdcheaders.h

index 9de5d84ffb45d1f784673192c27629fb7d0c99b7..c53e29f13b436f9d5397d19439f21d50a86a8c9c 100644 (file)
 #  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) */
 
index 62be040ca522c3605f2253e4f080f4483d8f2707..b6a1d27d9b93da6f417d94a50673a67674989561 100644 (file)
@@ -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 *);