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