Merge remote-tracking branch 'mesa-public/master' into vulkan
[mesa.git] / src / util / debug.h
index 801736aafffd714e4ca64c3f85f676c753888ba0..11a8561eb57d1d61af672aac9a3f48de5a10cdb4 100644 (file)
@@ -25,6 +25,7 @@
 #define _DEBUG_H
 
 #include <stdint.h>
+#include <stdbool.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -38,6 +39,8 @@ struct debug_control {
 uint64_t
 parse_debug_string(const char *debug,
                    const struct debug_control *control);
+bool
+env_var_as_boolean(const char *var_name, bool default_value);
 
 #ifdef __cplusplus
 } /* extern C */