diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-04-15 17:08:46 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-04-15 17:08:46 +0000 |
commit | 8f60c3a0a1e607222b1802d79c3a5af91b7c4f32 (patch) | |
tree | 7021a18006254c2bb0ef08c89ff88800d98db52a /x11/libxshmfence | |
parent | b2e42129b2a4ee6ecea02c790b682c30e4e1374b (diff) |
Fix build on head.
Notes
Notes:
svn path=/head/; revision=351352
Diffstat (limited to 'x11/libxshmfence')
-rw-r--r-- | x11/libxshmfence/files/patch-src__xshmfence_futex.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/libxshmfence/files/patch-src__xshmfence_futex.h b/x11/libxshmfence/files/patch-src__xshmfence_futex.h index 58c42a9a8b4e..253d9d54f947 100644 --- a/x11/libxshmfence/files/patch-src__xshmfence_futex.h +++ b/x11/libxshmfence/files/patch-src__xshmfence_futex.h @@ -1,19 +1,20 @@ ---- src/xshmfence_futex.h 2013-11-20 17:13:08.000000000 -0500 -+++ src/xshmfence_futex.h 2013-12-09 15:52:29.000000000 -0500 +--- src/xshmfence_futex.h ++++ src/xshmfence_futex.h @@ -1,5 +1,6 @@ /* * Copyright © 2013 Keith Packard -+ * Copyright © 2013 Jung-uk Kim <jkim@FreeBSD.org> ++ * Copyright © 2013-2014 Jung-uk Kim <jkim@FreeBSD.org> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that -@@ -24,6 +25,27 @@ +@@ -24,6 +25,28 @@ #define _XSHMFENCE_FUTEX_H_ #include <errno.h> + +#ifdef HAVE_UMTX + ++#include <sys/limits.h> +#include <sys/types.h> +#include <sys/umtx.h> + @@ -35,7 +36,7 @@ #include <stdint.h> #include <values.h> #include <linux/futex.h> -@@ -43,6 +65,8 @@ +@@ -43,6 +66,8 @@ return sys_futex(addr, FUTEX_WAIT, value, NULL, NULL, 0); } |