summaryrefslogtreecommitdiff
path: root/src/daemon/internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/internal.c')
-rw-r--r--src/daemon/internal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/internal.c b/src/daemon/internal.c
index 85c17b16..433d4886 100644
--- a/src/daemon/internal.c
+++ b/src/daemon/internal.c
@@ -26,7 +26,7 @@
#include "internal.h"
-
+#if HAVE_MESSAGES
/**
* fprintf-like helper function for logging debug
* messages.
@@ -42,6 +42,7 @@ MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...)
VFPRINTF (stderr, format, va);
va_end (va);
}
+#endif
/**
* Process escape sequences ('+'=space, %HH)