From fa662c9571e92d5fc4f36414723bbaed1e11b278 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 11 Sep 2009 13:51:50 -0400 Subject: INSTALL: fix build on Snow Leopard http://codereview.appspot.com/116073 --- src/libthread/threadimpl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libthread') diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index da98e5eb..8b00694e 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -6,6 +6,9 @@ #include #include #if !defined(__OpenBSD__) +# if defined(__APPLE__) +# define _XOPEN_SOURCE /* for Snow Leopard */ +# endif # include #endif #include -- cgit v1.2.3