diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-14 16:10:29 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-14 16:10:29 +0000 |
commit | 1cfb73a129541c1d2357c5d0482861d3fa47ea2f (patch) | |
tree | bf090aa6beb5d25b4f1717c1a111f63828166225 /lib | |
parent | 2a585c2fba45363d1a43637dedbadb16be2ff17b (diff) |
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config-mac.h | 4 | ||||
-rw-r--r-- | lib/setup.h | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/config-mac.h b/lib/config-mac.h index 1db255009..0af258620 100644 --- 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 dca6da42d..ba3ddce0c 100644 --- 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> |