about summary refs log tree commit diff
path: root/libidn/stringprep.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-08 18:29:34 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-08 18:29:34 +0000
commitafbfed1dbd563382846b72d0709988c92fa165a6 (patch)
tree7aaa5ba7e374a8535189b4140d4d2b23f9e4d0df /libidn/stringprep.h
parent80860696853982833e8980ca9cb548551e39ad45 (diff)
downloadglibc-afbfed1dbd563382846b72d0709988c92fa165a6.tar.gz
glibc-afbfed1dbd563382846b72d0709988c92fa165a6.tar.xz
glibc-afbfed1dbd563382846b72d0709988c92fa165a6.zip
Don't include idn-int.h in glibc.
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 9894a1644f..5f504e8e81 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"