Index: /trunk/source/lisp-kernel/linuxx8632/Makefile
===================================================================
--- /trunk/source/lisp-kernel/linuxx8632/Makefile	(revision 13623)
+++ /trunk/source/lisp-kernel/linuxx8632/Makefile	(revision 13624)
@@ -27,4 +27,5 @@
 # however.
 WFORMAT = -Wno-format
+PLATFORM_H = platform-darwinx8632.h
 
 # If the linker supports a "--hash-style=" option, use traditional
@@ -42,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
Index: /trunk/source/lisp-kernel/linuxx8664/Makefile
===================================================================
--- /trunk/source/lisp-kernel/linuxx8664/Makefile	(revision 13623)
+++ /trunk/source/lisp-kernel/linuxx8664/Makefile	(revision 13624)
@@ -27,4 +27,5 @@
 # however.
 WFORMAT = -Wno-format
+PLATFORM_H = platform-linuxx8664.h
 
 # If the linker supports a "--hash-style=" option, use traditional
@@ -42,5 +43,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
