projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a585c2
)
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h
author
Yang Tse
<yangsita@gmail.com>
Mon, 14 Jul 2008 16:10:29 +0000
(16:10 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Mon, 14 Jul 2008 16:10:29 +0000
(16:10 +0000)
lib/config-mac.h
patch
|
blob
|
history
lib/setup.h
patch
|
blob
|
history
diff --git
a/lib/config-mac.h
b/lib/config-mac.h
index 1db255009fdb6909906be69e5d3b2c53d20f88f0..0af2586209765dda86283093c0152f9268d1f8d2 100644
(file)
--- a/
lib/config-mac.h
+++ b/
lib/config-mac.h
@@
-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
diff --git
a/lib/setup.h
b/lib/setup.h
index dca6da42dea6eb13bfc83e049b877999d68e8654..ba3ddce0c6eb7ce9fdf49a5785af470cfa5dc4f7 100644
(file)
--- a/
lib/setup.h
+++ b/
lib/setup.h
@@
-165,6
+165,14
@@
#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>