From 2cd5bacca006fa8f957f1a230811b65a70655860 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Fri, 19 Mar 2021 17:35:29 -0700 Subject: Refactor header structures in FPGA interchange Arch. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fpga_interchange/xdc.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'fpga_interchange/xdc.h') 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 -#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 -- cgit v1.2.3