about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/inttypes.h2
-rw-r--r--sysdeps/generic/strsep.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/inttypes.h b/sysdeps/generic/inttypes.h
index f0ae7747cd..18264e7c12 100644
--- a/sysdeps/generic/inttypes.h
+++ b/sysdeps/generic/inttypes.h
@@ -34,7 +34,7 @@
 # elif defined __WCHAR_TYPE__
 typedef __WCHAR_TYPE__ __gwchar_t;
 # else
-#  defined __need_wchar_t
+#  define __need_wchar_t
 #  include <stddef.h>
 typedef wchar_t __gwchar_t;
 # endif
diff --git a/sysdeps/generic/strsep.c b/sysdeps/generic/strsep.c
index 6744aa9867..5761eecd31 100644
--- a/sysdeps/generic/strsep.c
+++ b/sysdeps/generic/strsep.c
@@ -66,3 +66,4 @@ __strsep (char **stringp, const char *delim)
   return begin;
 }
 weak_alias (__strsep, strsep)
+strong_alias (__strsep, __strsep_g)