Skip to content

Commit 5ddb8d5

Browse files
hannes14mohamed-barakat
authored andcommitted
fix: some include paths
1 parent 563fc3b commit 5ddb8d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Singular/extra.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#include <kernel/modulop.h>
4747
#include <kernel/febase.h>
4848
#include <polys/matpol.h>
49-
#include <kernel/longalg.h>
49+
//#include <kernel/longalg.h>
5050
#include <kernel/ideals.h>
5151
#include <kernel/kstd1.h>
5252
#include <kernel/syz.h>

Singular/feOpt.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#include <string.h>
1010
#include <stdlib.h>
1111
#include <kernel/mod2.h>
12+
#ifdef HAVE_FACTORY
13+
#define SI_DONT_HAVE_GLOBAL_VARS
14+
#include <factory/factory.h>
15+
#endif
1216
#include <Singular/feOpt.h>
1317
#if !defined(GENERATE_OPTION_INDEX) && !defined(ESINGULAR) && !defined(TSINGULAR)
1418
#include <misc/options.h>
@@ -293,10 +297,6 @@ static void feOptHelp(const char* name);
293297
#include <Singular/cntrlc.h>
294298
#include <kernel/timer.h>
295299

296-
#ifdef HAVE_FACTORY
297-
#define SI_DONT_HAVE_GLOBAL_VARS
298-
#include <factory/factory.h>
299-
#endif
300300
#include <errno.h>
301301

302302
static const char* feOptAction(feOptIndex opt);

0 commit comments

Comments
 (0)