From d6354598b901be01c3e9db2a48ef076821abda95 Mon Sep 17 00:00:00 2001 From: rlar Date: Mon, 31 Dec 2012 11:26:20 +0100 Subject: [PATCH] fix commit "update hisim to version 2.7.0" missing #include "ngspice/config.h" thats required for consistent interpretation of the type struct IFdevice from ngspice/ifsim.h included from ngspice/devdefs.h (invisible XSPICE definition leading to different size and layout of this struct) --- src/spicelib/devices/hisim2/hsm2init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spicelib/devices/hisim2/hsm2init.c b/src/spicelib/devices/hisim2/hsm2init.c index 6ed0f9e8a..28c526e2f 100644 --- a/src/spicelib/devices/hisim2/hsm2init.c +++ b/src/spicelib/devices/hisim2/hsm2init.c @@ -1,3 +1,5 @@ +#include "ngspice/config.h" + #include "ngspice/devdefs.h" #include "hsm2def.h"