summaryrefslogtreecommitdiff
path: root/lib/libpthread_dbg
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2011-03-17 01:01:15 +0000
committermatt <matt@NetBSD.org>2011-03-17 01:01:15 +0000
commit67fdea887771b89822f32f02bfd4fc0fec602301 (patch)
tree9b194ba2f26fe29f57f93ae4ed7a8c30cf84f0d5 /lib/libpthread_dbg
parent88b5fde018030057829bf6e7f9e5b7db44f308e1 (diff)
Since this is use pthread_int.h, it needs __LIBPTHREAD_SOURCE__ to be defined.
Diffstat (limited to 'lib/libpthread_dbg')
-rw-r--r--lib/libpthread_dbg/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread_dbg/Makefile b/lib/libpthread_dbg/Makefile
index c413048b74b..cb2dcd2d597 100644
--- a/lib/libpthread_dbg/Makefile
+++ b/lib/libpthread_dbg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/08/16 01:09:50 ad Exp $
+# $NetBSD: Makefile,v 1.8 2011/03/17 01:01:15 matt Exp $
#
WARNS= 2
@@ -32,6 +32,8 @@ assym.h: genassym.sh ${ARCHDIR}/genassym.cf
SRCS= pthread_dbg.c
+CPPFLAGS+= -D__LIBPTHREAD_SOURCE__
+
INCS= pthread_dbg.h
INCSDIR=/usr/include