From b10602e3b14361be848e44953b97c21dff1dc5ae Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 29 Sep 2015 06:37:48 -0400 Subject: [PATCH] Port: Add Solaris support to urcu/syscall-compat.h Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- urcu/syscall-compat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/urcu/syscall-compat.h b/urcu/syscall-compat.h index 55576f0..288cfaf 100644 --- a/urcu/syscall-compat.h +++ b/urcu/syscall-compat.h @@ -27,10 +27,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#if defined(__ANDROID__) +#if defined(__ANDROID__) || defined(__sun__) #include #elif defined(__linux__) #include +#else +#error "Add platform support to urcu/syscall-compat.h" #endif #endif /* _URCU_SYSCALL_COMPAT_H */ -- 2.34.1