summaryrefslogtreecommitdiff
path: root/include/pthread/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r--include/pthread/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h
index 3aa6a93..350a673 100644
--- a/include/pthread/pthread.h
+++ b/include/pthread/pthread.h
@@ -511,7 +511,7 @@ extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
__nonnull ((1));
-# ifdef __USE_EXTERN_INLINES
+# if defined __USE_EXTERN_INLINES && defined _LIBC
# include <bits/spin-lock-inline.h>