[Mesa-dev] [PATCH] anv: use limits.h instead of deprecated/obsolete values.h
Tapani Pälli
tapani.palli at intel.com
Thu Nov 3 11:49:49 UTC 2016
Mesa uses limits.h elsewhere, and this makes is possible to
compile anv_allocator.c on Android.
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
src/intel/vulkan/anv_allocator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c
index 36cabd7..2249fa6 100644
--- a/src/intel/vulkan/anv_allocator.c
+++ b/src/intel/vulkan/anv_allocator.c
@@ -24,7 +24,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
-#include <values.h>
+#include <limits.h>
#include <assert.h>
#include <linux/futex.h>
#include <linux/memfd.h>
--
2.7.4
More information about the mesa-dev
mailing list