summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/Imake.tmpl5
-rw-r--r--src/config/site.def2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/config/Imake.tmpl b/src/config/Imake.tmpl
index 920290ab0..67702b4be 100644
--- a/src/config/Imake.tmpl
+++ b/src/config/Imake.tmpl
@@ -551,6 +551,9 @@
#ifndef FilesToClean
#define FilesToClean *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
#endif
+#ifndef STDCTopIncludes
+#define STDCTopIncludes
+#endif
SHELL = BourneShell
@@ -588,6 +591,8 @@
EXTRA_LIBRARIES = ExtraLibraries
TAGS = TagsCmd
ETAGS = EtagsCmd
+STDC_TOP_INCLUDES = STDCTopIncludes
+
#if ConstructMFLAGS
MFLAGS = -$(MAKEFLAGS)
#endif
diff --git a/src/config/site.def b/src/config/site.def
index 5212b70ae..dddf620c1 100644
--- a/src/config/site.def
+++ b/src/config/site.def
@@ -94,6 +94,7 @@
#define CcCmd gcc -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional
#else /* server won't compile with -traditional */
#define CcCmd gcc -fstrength-reduce -fpcc-struct-return -pedantic -ansi -Wall
+#define STDCTopIncludes -I$(TOP)/include/stdc-incl
#endif
#endif
#endif
@@ -198,6 +199,7 @@
#define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional
#else /* server won't compile with -traditional */
#define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -pedantic -ansi -Wall
+#define STDCTopIncludes -I$(TOP)/include/stdc-incl
#endif
#endif
#endif