diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile
index 058056c258fa50422552f3a7a9bd4b39907766f6..e396f4f38312e2ed258a166dc383dde9bcc3d9c5 100644
--- a/ghc/includes/Makefile
+++ b/ghc/includes/Makefile
@@ -64,10 +64,12 @@ $(H_CONFIG) :
 	@echo "#define $(HostArch_CPP)_HOST_ARCH	1" >> $@
 	@echo "#define $(HostArch_CPP)_TARGET_ARCH	1" >> $@
 	@echo "#define $(HostArch_CPP)_BUILD_ARCH  	1" >> $@
+	@echo "#define HOST_ARCH			\"$(HostArch_CPP)\"" >> $@
 	@echo >> $@
 	@echo "#define $(HostOS_CPP)_HOST_OS		1" >> $@
 	@echo "#define $(HostOS_CPP)_TARGET_OS		1" >> $@  
 	@echo "#define $(HostOS_CPP)_BUILD_OS 		1" >> $@
+	@echo "#define HOST_OS 				\"$(HostOS_CPP)\"" >> $@
 ifeq "$(HostOS_CPP)" "irix"
 	@echo "#ifndef $(IRIX_MAJOR)_TARGET_OS		 " >> $@  
 	@echo "#define $(IRIX_MAJOR)_TARGET_OS		1" >> $@