Skip to content

Commit

Permalink
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/s…
Browse files Browse the repository at this point in the history
…etup.h
  • Loading branch information
yangtse committed Jul 14, 2008
1 parent 2a585c2 commit 1cfb73a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/config-mac.h
Expand Up @@ -71,5 +71,5 @@
#define SEND_TYPE_ARG4 int #define SEND_TYPE_ARG4 int
#define SEND_TYPE_RETV ssize_t #define SEND_TYPE_RETV ssize_t


#include <extra/stricmp.h> #define HAVE_EXTRA_STRICMP_H 1
#include <extra/strdup.h> #define HAVE_EXTRA_STRDUP_H 1
8 changes: 8 additions & 0 deletions lib/setup.h
Expand Up @@ -165,6 +165,14 @@
#define _REENTRANT #define _REENTRANT
#endif #endif


#ifdef HAVE_EXTRA_STRICMP_H
# include <extra/stricmp.h>
#endif

#ifdef HAVE_EXTRA_STRDUP_H
# include <extra/strdup.h>
#endif

#include <stdio.h> #include <stdio.h>
#ifdef HAVE_ASSERT_H #ifdef HAVE_ASSERT_H
#include <assert.h> #include <assert.h>
Expand Down

0 comments on commit 1cfb73a

Please sign in to comment.