Browse Source

[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
svn/heads/lighttpd-1.4.x
Stefan Bühler 6 years ago
parent
commit
02594f107a
  1. 1
      NEWS
  2. 2
      src/plugin.c

1
NEWS

@ -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)

2
src/plugin.c

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

Loading…
Cancel
Save