Index: /trunk/source/lisp-kernel/solarisx64/Makefile
===================================================================
--- /trunk/source/lisp-kernel/solarisx64/Makefile	(revision 13604)
+++ /trunk/source/lisp-kernel/solarisx64/Makefile	(revision 13605)
@@ -37,4 +37,5 @@
 # however.
 WFORMAT = -Wno-format
+PLATFORM_H = platform-solarisx64.h
 
 
@@ -43,5 +44,5 @@
 	$(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
 .c.o:
-	$(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
+	$(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
 
 SPOBJ = pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o
@@ -59,5 +60,5 @@
 CHEADERS = area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
 	lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
-	Threads.h x86-constants64.h x86-exceptions.h lisptypes.h
+	Threads.h x86-constants64.h x86-exceptions.h lisptypes.h $(PLATFORM_H)
 
 
Index: /trunk/source/lisp-kernel/solarisx86/Makefile
===================================================================
--- /trunk/source/lisp-kernel/solarisx86/Makefile	(revision 13604)
+++ /trunk/source/lisp-kernel/solarisx86/Makefile	(revision 13605)
@@ -37,5 +37,5 @@
 # however.
 WFORMAT = -Wno-format
-
+PLATFORM_H = platform-solarisx86.h
 
 
@@ -43,5 +43,5 @@
 	$(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
 .c.o:
-	$(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
+	$(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
 
 SPOBJ = pad.o x86-spjump32.o x86-spentry32.o x86-subprims32.o
@@ -59,5 +59,5 @@
 CHEADERS = area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
 	lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
-	Threads.h x86-constants32.h x86-exceptions.h lisptypes.h
+	Threads.h x86-constants32.h x86-exceptions.h lisptypes.h $(PLATFORM_H)
 
 
