X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Futil%2Fdebug.h;h=11a8561eb57d1d61af672aac9a3f48de5a10cdb4;hb=d5c9955d3eaa7311e2b2350b6964bae516c7b7b2;hp=801736aafffd714e4ca64c3f85f676c753888ba0;hpb=fc2a66cfcddea34af0e93dd2221ae1fd3fdd9e87;p=mesa.git diff --git a/src/util/debug.h b/src/util/debug.h index 801736aafff..11a8561eb57 100644 --- a/src/util/debug.h +++ b/src/util/debug.h @@ -25,6 +25,7 @@ #define _DEBUG_H #include +#include #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 */