aboutsummaryrefslogtreecommitdiff
path: root/src/dirax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirax.h')
-rw-r--r--src/dirax.h11
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 */