aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/FatalError.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/FatalError.hxx')
-rw-r--r--src/system/FatalError.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/system/FatalError.hxx b/src/system/FatalError.hxx
index 2845359ef..4ef290714 100644
--- a/src/system/FatalError.hxx
+++ b/src/system/FatalError.hxx
@@ -45,9 +45,11 @@ gcc_noreturn
void
FatalError(const char *msg, const Error &error);
+#ifdef HAVE_GLIB
gcc_noreturn
void
FatalError(const char *msg, GError *error);
+#endif
/**
* Call this after a system call has failed that is not supposed to