Make hardware watchpoints work for process record.
[binutils-gdb.git] / bfd / plugin.c
index a81db6f799d83c8039154229ff47be42bc3a90f6..2874fa67a01592ee2cbfb455563115f8fdc77abb 100644 (file)
    MA 02110-1301, USA.  */
 
 #include "config.h"
+#include "bfd.h"
+
+#if BFD_SUPPORTS_PLUGINS
+
 #include <assert.h>
 #include <dlfcn.h>
 #include <stdarg.h>
@@ -492,3 +496,4 @@ const bfd_target plugin_vec =
 
   NULL                         /* backend_data.  */
 };
+#endif /* BFD_SUPPORTS_PLUGIN */