diff options
Diffstat (limited to 'generic/archdefs.h')
-rw-r--r-- | generic/archdefs.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/generic/archdefs.h b/generic/archdefs.h index a5108e9e..bdd97dde 100644 --- a/generic/archdefs.h +++ b/generic/archdefs.h @@ -17,9 +17,12 @@ * */ -#ifndef NEXTPNR_H -#error Include "archdefs.h" via "nextpnr.h" only. -#endif +#ifndef GENERIC_ARCHDEFS_H +#define GENERIC_ARCHDEFS_H + +#include <unordered_map> + +#include "idstringlist.h" NEXTPNR_NAMESPACE_BEGIN @@ -52,3 +55,5 @@ struct ArchCellInfo }; NEXTPNR_NAMESPACE_END + +#endif /* GENERIC_ARCHDEFS_H */ |