summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/p_util.h')
-rw-r--r--src/mesa/pipe/p_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h
index 46edcf3075..69ec62e307 100644
--- a/src/mesa/pipe/p_util.h
+++ b/src/mesa/pipe/p_util.h
@@ -30,7 +30,6 @@
#include "p_compiler.h"
#include <math.h>
-#include <stdint.h>
#ifdef WIN32
@@ -124,6 +123,7 @@ align_malloc(size_t bytes, uint alignment)
(void) posix_memalign(& mem, alignment, bytes);
return mem;
#else
+ typedef unsigned long int uintptr_t;
uintptr_t ptr, buf;
assert( alignment > 0 );