summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-12 14:32:50 -0800
committerEric Anholt <[email protected]>2012-01-17 10:35:24 -0800
commitccf0d31a210baf062dcc0e0c19527cdbbade0ac9 (patch)
tree098c2394c78366a26a979fd1b9819808018e70ec /src
parente0897009f8fe8100204038e37f5555966300383a (diff)
intel: Fix warnings of undefined ffs().
For some reason these started showing up with the automake conversion. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h
index 9fb2902a45b..e673a4e88cf 100644
--- a/src/mesa/drivers/dri/intel/intel_context.h
+++ b/src/mesa/drivers/dri/intel/intel_context.h
@@ -30,6 +30,7 @@
#include <stdbool.h>
+#include <string.h>
#include "main/mtypes.h"
#include "main/mm.h"