From 8c7ac6fc362d2d958c97262032c7dbde3471b100 Mon Sep 17 00:00:00 2001
From: "\"Steven J. Hill\"" <sjhill@realitydiluted.com>
Date: Tue, 4 Oct 2005 00:29:14 +0000
Subject: Clean up pthread include mess. Some of these will be needed to
 support NPTL, but they do no harm for the linuxthreads case. Yes, I tested
 this.

---
 libc/stdio/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'libc/stdio/Makefile')

diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile
index b737410d9..91a011eed 100644
--- a/libc/stdio/Makefile
+++ b/libc/stdio/Makefile
@@ -116,6 +116,10 @@ ifeq ($(strip $(UCLIBC_HAS_LFS)),y)
 OBJS += $(CLOBJS)
 endif
 
+ifeq ($(UCLIBC_HAS_THREADS),y)
+CFLAGS += $(PTINC)
+endif
+
 OBJ_LIST=../obj.stdio
 
 all: $(OBJ_LIST)
-- 
cgit v1.2.3