[Mesa-dev] [PATCH] gbm.h: Add a missing stddef.h include for size_t.

Emmanuel Gil Peyrot emmanuel.peyrot at collabora.com
Thu Oct 29 08:22:19 PDT 2015


This was causing compilation issues when one of its providers wasn’t
already included before gbm.h.
---
 src/gbm/main/gbm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h
index 2708e50..8db2153 100644
--- a/src/gbm/main/gbm.h
+++ b/src/gbm/main/gbm.h
@@ -35,6 +35,7 @@ extern "C" {
 
 #define __GBM__ 1
 
+#include <stddef.h>
 #include <stdint.h>
 
 /**
-- 
2.6.2



More information about the mesa-dev mailing list