[Mesa-dev] [PATCH 1/4] intel: Fix warnings of undefined ffs().

Eric Anholt eric at anholt.net
Thu Jan 12 16:08:11 PST 2012


For some reason these started showing up with the automake conversion.
---
 src/mesa/drivers/dri/intel/intel_context.h |    1 +
 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 9fb2902..e673a4e 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"
 
-- 
1.7.7.3



More information about the mesa-dev mailing list