summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-09-10 22:12:24 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-09-10 22:12:24 -0400
commit2bed2c14afbf6c2d3222b96ef2f8f13421ef8ce5 (patch)
tree499e76170ad1597f55a72512a600c004b44d5b33
parentcf4bc764dcb549cf3fb1df80a1c2f0393f834864 (diff)
downloadlighttpd1.4-2bed2c14afbf6c2d3222b96ef2f8f13421ef8ce5.tar.gz
lighttpd1.4-2bed2c14afbf6c2d3222b96ef2f8f13421ef8ce5.zip
[mod_webdav] check HAVE_UUID for -luuid
check HAVE_UUID for -luuid in order to detect more pedantic cases, e.g. when -luuid is not installed under Cygwin, even if devel headers are present (<uuid/uuid.h>)
-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