aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/dedicated_interconnect.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpga_interchange/dedicated_interconnect.h')
-rw-r--r--fpga_interchange/dedicated_interconnect.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/fpga_interchange/dedicated_interconnect.h b/fpga_interchange/dedicated_interconnect.h
index 66e1d41b..41adea15 100644
--- a/fpga_interchange/dedicated_interconnect.h
+++ b/fpga_interchange/dedicated_interconnect.h
@@ -18,9 +18,16 @@
*
*/
-#ifndef NEXTPNR_H
-#error Include "dedicated_interconnect.h" via "nextpnr.h" only.
-#endif
+#ifndef DEDICATED_INTERCONNECT_H
+#define DEDICATED_INTERCONNECT_H
+
+#include <boost/functional/hash.hpp>
+#include <cstdint>
+#include <unordered_map>
+
+#include "archdefs.h"
+#include "idstring.h"
+#include "nextpnr_namespaces.h"
NEXTPNR_NAMESPACE_BEGIN
@@ -138,3 +145,5 @@ struct DedicatedInterconnect
};
NEXTPNR_NAMESPACE_END
+
+#endif /* DEDICATED_INTERCONNECT_H */