intel: Fix warnings of undefined ffs().
authorEric Anholt <eric@anholt.net>
Thu, 12 Jan 2012 22:32:50 +0000 (14:32 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 17 Jan 2012 18:35:24 +0000 (10:35 -0800)
For some reason these started showing up with the automake conversion.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_context.h

index 9fb2902..e673a4e 100644 (file)
@@ -30,6 +30,7 @@
 
 
 #include <stdbool.h>
+#include <string.h>
 #include "main/mtypes.h"
 #include "main/mm.h"