* plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not

defined.
This commit is contained in:
Ian Lance Taylor 2009-10-09 23:07:30 +00:00
parent 75aea3d03d
commit bc06c745d9
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
* plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not
defined.
2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):

View file

@ -25,7 +25,10 @@
#include <cstring>
#include <string>
#include <vector>
#ifdef ENABLE_PLUGINS
#include <dlfcn.h>
#endif
#include "gold.h"
#include "parameters.h"