eaf8ebad98afa985ae09b4d0be9463ee3b9dc280
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / elftosb / 0001-fixes-includes.patch
1 This patch uses system include files instead of a hard coded system path to fixe
2 potential compilation failure on systems that do not populate system header
3 files in /usr/include/..
4
5 Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>
6 ---
7 Index: 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;