diff options
Diffstat (limited to 'src/dirax.h')
-rw-r--r-- | src/dirax.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dirax.h b/src/dirax.h index b6b80488..530d2696 100644 --- a/src/dirax.h +++ b/src/dirax.h @@ -17,8 +17,19 @@ #include <config.h> #endif +#include "utils.h" + +#if HAVE_GLIB extern void run_dirax(struct image *image); +#else + +static void run_dirax(struct image *image) +{ + ERROR("Can't run DirAx without GLib.\n"); +} + +#endif #endif /* DIRAX_H */ |