aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/archdefs.h')
-rw-r--r--ice40/archdefs.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/ice40/archdefs.h b/ice40/archdefs.h
index 5caa420a..038a3131 100644
--- a/ice40/archdefs.h
+++ b/ice40/archdefs.h
@@ -17,9 +17,13 @@
*
*/
-#ifndef NEXTPNR_H
-#error Include "archdefs.h" via "nextpnr.h" only.
-#endif
+#ifndef ICE40_ARCHDEFS_H
+#define ICE40_ARCHDEFS_H
+
+#include <boost/functional/hash.hpp>
+
+#include "idstring.h"
+#include "nextpnr_namespaces.h"
NEXTPNR_NAMESPACE_BEGIN
@@ -196,3 +200,5 @@ template <> struct hash<NEXTPNR_NAMESPACE_PREFIX DecalId>
};
} // namespace std
+
+#endif /* ICE40_ARCHDEFS_H */