aboutsummaryrefslogtreecommitdiff
path: root/libidn/stringprep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libidn/stringprep.h')
-rw-r--r--libidn/stringprep.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libidn/stringprep.h b/libidn/stringprep.h
index 9894a16..5f504e8 100644
--- a/libidn/stringprep.h
+++ b/libidn/stringprep.h
@@ -29,7 +29,11 @@ extern "C"
#include <stddef.h> /* size_t */
#include <unistd.h> /* ssize_t */
-#include <idn-int.h> /* uint32_t */
+#ifdef _LIBC
+# include <stdint.h>
+#else
+# include <idn-int.h> /* uint32_t */
+#endif
#define STRINGPREP_VERSION "0.4.1"