From: Ian Lance Taylor Date: Fri, 9 Oct 2009 23:07:30 +0000 (+0000) Subject: * plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc06c745d9fc863ca8bc2811a1654cf0269ed874;p=binutils-gdb.git * plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not defined. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 05320fa9152..098d347f8a2 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2009-10-09 Andrew Pinski + + * plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not + defined. + 2009-10-09 Andrew Pinski * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info): diff --git a/gold/plugin.cc b/gold/plugin.cc index ccbcffd807c..104ac5cf946 100644 --- a/gold/plugin.cc +++ b/gold/plugin.cc @@ -25,7 +25,10 @@ #include #include #include + +#ifdef ENABLE_PLUGINS #include +#endif #include "gold.h" #include "parameters.h"