Thanks for all the replies!

How exactly do I use this function? I tried this but it does not work:
After the default.c include:
#define PRAGMA_PATH "images\\gui";
In top of the void main():
add_folder("images\\gui");
It does work when I run main.c but when I run the published version (.exe), the console reports the files not found...what am I missing here?