aboutsummaryrefslogtreecommitdiff
path: root/devel/ace/files/patch-ace__OS_NS_Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ace/files/patch-ace__OS_NS_Thread.h')
-rw-r--r--devel/ace/files/patch-ace__OS_NS_Thread.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/ace/files/patch-ace__OS_NS_Thread.h b/devel/ace/files/patch-ace__OS_NS_Thread.h
new file mode 100644
index 000000000000..3d7801505413
--- /dev/null
+++ b/devel/ace/files/patch-ace__OS_NS_Thread.h
@@ -0,0 +1,15 @@
+--- ace/OS_NS_Thread.h.orig 2011-04-07 20:48:50.000000000 +0900
++++ ace/OS_NS_Thread.h 2011-11-27 05:38:21.000000000 +0900
+@@ -38,6 +38,12 @@
+ # include "ace/ACE_export.h"
+ # include "ace/Object_Manager_Base.h"
+
++# include <sys/param.h>
++#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 700110 && __FreeBSD_version < 800000) || __FreeBSD_version >= 800024))
++# include <sys/cpuset.h>
++# define cpu_set_t cpuset_t
++#endif
++
+ # if defined (ACE_EXPORT_MACRO)
+ # undef ACE_EXPORT_MACRO
+ # endif