gbm.h: Add a missing stddef.h include for size_t.
authorEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Thu, 29 Oct 2015 15:22:19 +0000 (15:22 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 30 Oct 2015 19:12:14 +0000 (19:12 +0000)
This was causing compilation issues when one of its providers wasn’t
already included before gbm.h.

Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gbm/main/gbm.h

index 2708e50a45ca3fa8be19cb21036641ce9e4f30c7..8db2153e84bb69d5bf5976f45fb3572c961e12b6 100644 (file)
@@ -35,6 +35,7 @@ extern "C" {
 
 #define __GBM__ 1
 
+#include <stddef.h>
 #include <stdint.h>
 
 /**