summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index d88bcb6c24..ae8149a2e4 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -25,6 +25,10 @@
#ifndef __BFD_H_SEEN__
#define __BFD_H_SEEN__
+#ifndef PACKAGE
+#error config.h must be included before this header
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif