diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 00:12:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 00:12:55 +0000 |
commit | 685444569cb747b399e0ab087e5876fad08a71bb (patch) | |
tree | d17ed2397c1e4bdfb18c4439c4369f0ef61b5e6e /thread_pthread.c | |
parent | ef38cb7a05e1b45b074959f12999136518cadcbd (diff) |
* fix for build on solaris 10.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 3a5c2c7e3c..080bc0c9a0 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -16,6 +16,9 @@ #ifdef HAVE_SYS_RESOURCE_H #include <sys/resource.h> #endif +#ifdef HAVE_THR_STKSEGMENT +#include <thread.h> +#endif static void native_mutex_lock(pthread_mutex_t *lock); static void native_mutex_unlock(pthread_mutex_t *lock); |