]> granicus.if.org Git - curl/commitdiff
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h
authorYang Tse <yangsita@gmail.com>
Mon, 14 Jul 2008 16:10:29 +0000 (16:10 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 14 Jul 2008 16:10:29 +0000 (16:10 +0000)
lib/config-mac.h
lib/setup.h

index 1db255009fdb6909906be69e5d3b2c53d20f88f0..0af2586209765dda86283093c0152f9268d1f8d2 100644 (file)
@@ -71,5 +71,5 @@
 #define SEND_TYPE_ARG4 int
 #define SEND_TYPE_RETV ssize_t
 
-#include <extra/stricmp.h>
-#include <extra/strdup.h>
+#define HAVE_EXTRA_STRICMP_H 1
+#define HAVE_EXTRA_STRDUP_H  1
index dca6da42dea6eb13bfc83e049b877999d68e8654..ba3ddce0c6eb7ce9fdf49a5785af470cfa5dc4f7 100644 (file)
 #define _REENTRANT
 #endif
 
+#ifdef HAVE_EXTRA_STRICMP_H
+#  include <extra/stricmp.h>
+#endif
+
+#ifdef HAVE_EXTRA_STRDUP_H
+#  include <extra/strdup.h>
+#endif
+
 #include <stdio.h>
 #ifdef HAVE_ASSERT_H
 #include <assert.h>