0001-fixes-includes.patch 901 B

12345678910111213141516171819
  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. Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>
  5. ---
  6. Index: host-elftosb-10.12.01/common/stdafx.h
  7. ===================================================================
  8. --- host-elftosb-10.12.01.orig/common/stdafx.h 2012-01-30 12:43:35.000000000 +0100
  9. +++ host-elftosb-10.12.01/common/stdafx.h 2012-01-30 12:43:54.000000000 +0100
  10. @@ -27,7 +27,7 @@
  11. // For Linux systems only, types.h only defines the signed
  12. // integer types. This is not professional code.
  13. // Update: They are defined in the header files in the more recent version of redhat enterprise gcc.
  14. -#include "/usr/include/sys/types.h"
  15. +#include <sys/types.h>
  16. #include <stdint.h>
  17. //typedef unsigned long uint32_t;
  18. //typedef unsigned short uint16_t;