summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/sys
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/sys')
-rw-r--r--lib/libpthread/sys/thr_error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/sys/thr_error.c b/lib/libpthread/sys/thr_error.c
index 6f19f93..72e1927 100644
--- a/lib/libpthread/sys/thr_error.c
+++ b/lib/libpthread/sys/thr_error.c
@@ -37,6 +37,7 @@
#include "libc_private.h"
#include "thr_private.h"
+#undef errno
extern int errno;
int *
OpenPOWER on IntegriCloud