Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/s…

…etup.h
  • Loading branch information...
commit 1cfb73a129541c1d2357c5d0482861d3fa47ea2f 1 parent 2a585c2
@yangtse yangtse authored
Showing with 10 additions and 2 deletions.
  1. +2 −2 lib/config-mac.h
  2. +8 −0 lib/setup.h
View
4 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
View
8 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>
Please sign in to comment.
Something went wrong with that request. Please try again.