From 8c7ac6fc362d2d958c97262032c7dbde3471b100 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" 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/inet/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/inet/Makefile') diff --git a/libc/inet/Makefile b/libc/inet/Makefile index e7018db7c..6d59e1856 100644 --- a/libc/inet/Makefile +++ b/libc/inet/Makefile @@ -56,6 +56,10 @@ CSRC =getservice.c getproto.c hostid.c getnetent.c getnetbynm.c getnetbyad.c \ COBJS=$(patsubst %.c,%.o, $(CSRC)) +ifeq ($(UCLIBC_HAS_THREADS),y) +CFLAGS += $(PTINC) +endif + OBJS=$(MOBJ) $(MOBJ2) $(MOBJ3) $(COBJS) OBJ_LIST=../obj.inet -- cgit v1.2.3