Browse Source

- configure.in:

check for uuid/uuid.h
- mod_webdav.c:
  change the conditional to use HAVE_UUID_UUID_h

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1343 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/heads/lighttpd-1.4.11-ssl-fixes
Marcus Rückert 15 years ago
parent
commit
347f6479c2
  1. 2
      configure.in
  2. 2
      src/mod_webdav.c

2
configure.in

@ -56,7 +56,7 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h \
sys/socket.h sys/time.h unistd.h sys/sendfile.h sys/uio.h \
getopt.h sys/epoll.h sys/select.h poll.h sys/poll.h sys/devpoll.h sys/filio.h \
sys/mman.h sys/event.h sys/port.h pwd.h sys/syslimits.h \
sys/resource.h sys/un.h syslog.h sys/prctl.h])
sys/resource.h sys/un.h syslog.h sys/prctl.h uuid/uuid.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

2
src/mod_webdav.c

@ -23,7 +23,7 @@
#include <sqlite3.h>
#endif
#if defined(HAVE_LIBXML_H) && defined(HAVE_SQLITE3_H) && defined(HAVE_UUID_H)
#if defined(HAVE_LIBXML_H) && defined(HAVE_SQLITE3_H) && defined(HAVE_UUID_UUID_H)
#define USE_LOCKS
#include <uuid/uuid.h>
#endif

Loading…
Cancel
Save