diff options
| author | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
|---|---|---|
| committer | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
| commit | fa662c9571e92d5fc4f36414723bbaed1e11b278 (patch) | |
| tree | fa5953ca28ab8687e1186b4183d480a98feed2bc /src/libthread/threadimpl.h | |
| parent | a673ea22035ad986afc84d44543cd232218ddbe9 (diff) | |
INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
Diffstat (limited to 'src/libthread/threadimpl.h')
| -rw-r--r-- | src/libthread/threadimpl.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sched.h> #include <signal.h> #if !defined(__OpenBSD__) +# if defined(__APPLE__) +# define _XOPEN_SOURCE /* for Snow Leopard */ +# endif # include <ucontext.h> #endif #include <sys/utsname.h> |