src/core/util.c: Fix warning in case WITH_VERBOSE_MODE is not set

Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>

https://bugzilla.gnome.org/show_bug.cgi?id=624166
This commit is contained in:
Andreas Mueller 2010-07-12 13:14:26 +02:00 committed by Owen W. Taylor
parent bb3d23f7f6
commit 2b84afc1e3

View File

@ -40,11 +40,12 @@
#include <X11/Xlib.h> /* must explicitly be included for Solaris; #326746 */ #include <X11/Xlib.h> /* must explicitly be included for Solaris; #326746 */
#include <X11/Xutil.h> /* Just for the definition of the various gravities */ #include <X11/Xutil.h> /* Just for the definition of the various gravities */
#ifdef WITH_VERBOSE_MODE
static void static void
meta_topic_real_valist (MetaDebugTopic topic, meta_topic_real_valist (MetaDebugTopic topic,
const char *format, const char *format,
va_list args); va_list args);
#endif
#ifdef HAVE_BACKTRACE #ifdef HAVE_BACKTRACE
#include <execinfo.h> #include <execinfo.h>