Browse Source

Add proper guard, so that we don't see the internal header in userspace

Peter S. Mazinger 18 years ago
parent
commit
8897795c2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/linuxthreads.old/sysdeps/pthread/pthread.h

+ 1 - 1
libpthread/linuxthreads.old/sysdeps/pthread/pthread.h

@@ -24,7 +24,7 @@
 #include <signal.h>
 #include <bits/pthreadtypes.h>
 #include <bits/initspin.h>
-#ifdef _LIBC
+#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
 #include <bits/uClibc_pthread.h>
 #endif