From 33a2d73a73ea301d0fa2e018bc5b0d770ed94819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 22 Feb 2018 19:23:38 +0100 Subject: [PATCH] Fix missing include for HAVE_UMTX branch of futex This fixes build on Gentoo/FreeBSD which failed due to undefined 'INT_MAX'. --- src/xshmfence_futex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xshmfence_futex.h b/src/xshmfence_futex.h index ea96cf4..673ac0e 100644 --- a/src/xshmfence_futex.h +++ b/src/xshmfence_futex.h @@ -30,6 +30,7 @@ #include #include +#include static inline int sys_futex(void *addr, int op, int32_t val) { -- 2.16.2