[plugins] don't include dlfcn.h if not needed (fixes #2548)

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3087 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Stefan Bühler 2016-02-28 12:12:05 +00:00
parent 75e4859a1b
commit 02594f107a
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -17,6 +17,7 @@ NEWS
* [core] fix conditional cache handling
* [core] improve conditional enabling (thx Gwenlliana, #2598)
* [mod_compress] case-insensitive content-codings (fixes #2645)
* [plugins] don't include dlfcn.h if not needed (fixes #2548)
- 1.4.39 - 2016-01-02
* [core] fix memset_s call (fixes #2698)

View File

@ -10,7 +10,7 @@
# include <valgrind/valgrind.h>
#endif
#ifndef __WIN32
#if !defined(__WIN32) && !defined(LIGHTTPD_STATIC)
# include <dlfcn.h>
#endif
/*