anv: use limits.h instead of deprecated/obsolete values.h
authorTapani Pälli <tapani.palli@intel.com>
Thu, 3 Nov 2016 11:44:47 +0000 (13:44 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 4 Nov 2016 06:35:43 +0000 (08:35 +0200)
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@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/vulkan/anv_allocator.c

index 36cabd721bcd82461141b3cb0d888ae024f2476c..2249fa6a00c9e73737dc6ca9ad5585d3ac4ed75a 100644 (file)
@@ -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>