Skip to content

Commit

Permalink
[plugins] don't include dlfcn.h if not needed (fixes #2548)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
stbuehler committed Feb 28, 2016
1 parent 75e4859 commit 02594f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# include <valgrind/valgrind.h>
#endif

#ifndef __WIN32
#if !defined(__WIN32) && !defined(LIGHTTPD_STATIC)
# include <dlfcn.h>
#endif
/*
Expand Down

0 comments on commit 02594f1

Please sign in to comment.