From 30d946bc7b522ada9ec2fdbd502f9e36aae21bba 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: Fix missing include for HAVE_UMTX branch of futex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes build on Gentoo/FreeBSD which failed due to undefined 'INT_MAX'. Signed-off-by: Michał Górny Signed-off-by: Matt Turner --- 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) { -- cgit v1.2.3