summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/stdio/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile
index a52098c90..e17d9faa5 100644
--- a/libc/stdio/Makefile
+++ b/libc/stdio/Makefile
@@ -61,6 +61,9 @@ endif
ifeq ($(strip $(UCLIBC_HAS_THREADS)),y)
CSRC += flockfile.c ftrylockfile.c funlockfile.c
endif
+ifeq ($(strip $(PTHREADS_NATIVE)),y)
+CSRC += fatal.c
+endif
# Functions with unlocked versions
CUSRC = clearerr.c feof.c ferror.c fflush.c fgetc.c fgets.c fileno.c \