summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_stdio.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 65b316001..8cc7a01a1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -226,6 +226,8 @@ HEADERS_RM- := \
bits/kernel_sigaction.h \
bits/kernel_stat.h \
bits/kernel_types.h \
+ bits/libc-lock.h \
+ bits/stdio-lock.h \
bits/syscalls.h \
bits/syscalls-common.h \
bits/uClibc_fpmax.h \
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
index c0c3e561c..06000a85c 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
@@ -205,7 +205,7 @@ typedef _IO_cookie_io_functions_t cookie_io_functions_t;
/**********************************************************************/
#if defined __UCLIBC_HAS_THREADS__ && !defined __UCLIBC_IO_MUTEX
-# ifdef __UCLIBC_HAS_THREADS_NATIVE__
+# ifdef __USE_STDIO_FUTEXES__
# include <bits/stdio-lock.h>
# define __UCLIBC_IO_MUTEX(M) _IO_lock_t M
# else