Mesa (master): util: (trivial) add <stdint.h> include to slab.c
Roland Scheidegger
sroland at kemper.freedesktop.org
Tue Sep 6 17:48:16 UTC 2016
Module: Mesa
Branch: master
Commit: 31a380c8ddbcb9eaba275a000a9d0c5f28cfd379
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=31a380c8ddbcb9eaba275a000a9d0c5f28cfd379
Author: Roland Scheidegger <sroland at vmware.com>
Date: Tue Sep 6 19:47:14 2016 +0200
util: (trivial) add <stdint.h> include to slab.c
should fix "src/util/slab.c:57:13: error: ‘uint8_t’ undeclared"
---
src/util/slab.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/util/slab.c b/src/util/slab.c
index acf818b..af75152 100644
--- a/src/util/slab.c
+++ b/src/util/slab.c
@@ -24,6 +24,7 @@
#include "slab.h"
#include "macros.h"
#include "simple_list.h"
+#include <stdint.h>
#include <stdbool.h>
#include <string.h>
More information about the mesa-commit
mailing list