summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_webdav.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_webdav.c b/src/mod_webdav.c
index d61c5b7b..58e3df38 100644
--- a/src/mod_webdav.c
+++ b/src/mod_webdav.c
@@ -31,7 +31,8 @@
#include <sqlite3.h>
#endif
-#if defined(HAVE_LIBXML_H) && defined(HAVE_SQLITE3_H) && defined(HAVE_UUID_UUID_H)
+#if defined(HAVE_LIBXML_H) && defined(HAVE_SQLITE3_H) \
+ && defined(HAVE_UUID) && defined(HAVE_UUID_UUID_H)
#define USE_LOCKS
#include <uuid/uuid.h>
#endif