From c6687d4591964cb13df87f55ec4770e778a4a55c Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 21 Sep 2004 01:11:28 +0000 Subject: Continue the pthreads torture. --- include/u.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/u.h') diff --git a/include/u.h b/include/u.h index 8e79ba6e..c1ca0336 100644 --- a/include/u.h +++ b/include/u.h @@ -24,7 +24,6 @@ extern "C" { #include #include #include /* for tolower */ -#include /* for Locks */ /* * OS-specific crap @@ -42,8 +41,10 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)]; # undef _NEEDUSHORT # undef _NEEDUINT # undef _NEEDULONG -# include -# define PLAN9_PTHREADS +# endif +# if defined(__Linux26__) +# include +# define PLAN9_PTHREADS 1 # endif #endif #if defined(__sun__) -- cgit v1.2.3