diff options
Diffstat (limited to 'fpga_interchange/xdc.h')
-rw-r--r-- | fpga_interchange/xdc.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fpga_interchange/xdc.h b/fpga_interchange/xdc.h index c6b80870..bafd1235 100644 --- a/fpga_interchange/xdc.h +++ b/fpga_interchange/xdc.h @@ -17,11 +17,17 @@ * */ -#include <tcl.h> -#include "nextpnr.h" +#ifndef XDC_H +#define XDC_H + +#include "nextpnr_namespaces.h" + +struct Tcl_Interp; NEXTPNR_NAMESPACE_BEGIN +struct Context; + struct TclInterp { TclInterp(Context *ctx); @@ -31,3 +37,5 @@ struct TclInterp }; NEXTPNR_NAMESPACE_END + +#endif |