summaryrefslogtreecommitdiff
path: root/gl/wchar.in.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-20 12:50:01 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-20 12:50:01 +0200
commit5854b4c2557dcb75c6263df32932047688d5c64b (patch)
tree6ec061b102f5811c02e2472310dac347c7fb9f9f /gl/wchar.in.h
parentf9f404609cd03181eb88cb7d0280b2016c9a8e67 (diff)
downloadgnutls-5854b4c2557dcb75c6263df32932047688d5c64b.tar.gz
Added new gnulib and error.h.
Diffstat (limited to 'gl/wchar.in.h')
-rw-r--r--gl/wchar.in.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/wchar.in.h b/gl/wchar.in.h
index ab4c80663a..da55f6e3de 100644
--- a/gl/wchar.in.h
+++ b/gl/wchar.in.h
@@ -61,9 +61,13 @@
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
included before <wchar.h>.
+ In some builds of uClibc, <wchar.h> is nonexistent and wchar_t is defined
+ by <stddef.h>.
But avoid namespace pollution on glibc systems. */
-#ifndef __GLIBC__
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
# include <stddef.h>
+#endif
+#ifndef __GLIBC__
# include <stdio.h>
# include <time.h>
#endif