aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/FatalError.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/system/FatalError.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/system/FatalError.hxx b/src/system/FatalError.hxx
index 2845359ef..8d5f73aa2 100644
--- a/src/system/FatalError.hxx
+++ b/src/system/FatalError.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -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