From 415d94bee0df7775727deae70f15f833f2a1a45a Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 29 Mar 2024 17:27:43 +0100 Subject: [PATCH] Bug 665: enable compiling the code models with link time optimization. Fix provided by Giles Atkinson. Still the build of ngspice fails (tested with Cygwin) at the linking stage. --- src/xspice/icm/dlmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xspice/icm/dlmain.c b/src/xspice/icm/dlmain.c index b86839e34..8c005cf56 100644 --- a/src/xspice/icm/dlmain.c +++ b/src/xspice/icm/dlmain.c @@ -13,6 +13,7 @@ #include #include +#include "ngspice/config.h" #include "ngspice/cpextern.h" #include "ngspice/devdefs.h" #include "ngspice/dstring.h"