diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-22 19:23:38 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-02-22 10:37:42 -0800 |
commit | 30d946bc7b522ada9ec2fdbd502f9e36aae21bba (patch) | |
tree | 11181b18d7215a69deca978a95762e0572b13d6b | |
parent | 517f21745c43883c1fd7128eeba3e2ae963cb779 (diff) |
Fix missing <limits.h> include for HAVE_UMTX branch of futex
This fixes build on Gentoo/FreeBSD which failed due to undefined
'INT_MAX'.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/xshmfence_futex.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <sys/types.h> #include <sys/umtx.h> +#include <limits.h> static inline int sys_futex(void *addr, int op, int32_t val) { |