1*4882a593SmuzhiyunThis patch uses system include files instead of a hard coded system path to fixe 2*4882a593Smuzhiyunpotential compilation failure on systems that do not populate system header 3*4882a593Smuzhiyunfiles in /usr/include/.. 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunSigned-off-by: Eric Jarrige <eric.jarrige@armadeus.org> 6*4882a593Smuzhiyun--- 7*4882a593SmuzhiyunIndex: host-elftosb-10.12.01/common/stdafx.h 8*4882a593Smuzhiyun=================================================================== 9*4882a593Smuzhiyun--- host-elftosb-10.12.01.orig/common/stdafx.h 2012-01-30 12:43:35.000000000 +0100 10*4882a593Smuzhiyun+++ host-elftosb-10.12.01/common/stdafx.h 2012-01-30 12:43:54.000000000 +0100 11*4882a593Smuzhiyun@@ -27,7 +27,7 @@ 12*4882a593Smuzhiyun // For Linux systems only, types.h only defines the signed 13*4882a593Smuzhiyun // integer types. This is not professional code. 14*4882a593Smuzhiyun // Update: They are defined in the header files in the more recent version of redhat enterprise gcc. 15*4882a593Smuzhiyun-#include "/usr/include/sys/types.h" 16*4882a593Smuzhiyun+#include <sys/types.h> 17*4882a593Smuzhiyun #include <stdint.h> 18*4882a593Smuzhiyun //typedef unsigned long uint32_t; 19*4882a593Smuzhiyun //typedef unsigned short uint16_t; 20