X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fsyscall-compat.h;h=9b9afec2abd385db214aedda2689a65b17ce2286;hp=288cfaf4c7fee4fa623717bd536cf41fa31654ad;hb=613086f69b4c8e6cc1b73b4e93d6d0497825d1ee;hpb=b10602e3b14361be848e44953b97c21dff1dc5ae diff --git a/urcu/syscall-compat.h b/urcu/syscall-compat.h index 288cfaf..9b9afec 100644 --- a/urcu/syscall-compat.h +++ b/urcu/syscall-compat.h @@ -27,9 +27,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#if defined(__ANDROID__) || defined(__sun__) +#if defined(__ANDROID__) || defined(__sun__) || defined(__GNU__) #include -#elif defined(__linux__) +#elif defined(__linux__) || defined(__GLIBC__) #include #else #error "Add platform support to urcu/syscall-compat.h"