components/gnuefi/patches/02-efibind.patch
changeset 5855 986a46fa92f7
equal deleted inserted replaced
5854:a31f17a6ce08 5855:986a46fa92f7
       
     1 # Source: Internal
       
     2 # Info: Written internally so this component can be built on Solaris.
       
     3 # Status: This patch is offered at https://sourceforge.net/p/gnu-efi/patches/37/
       
     4 
       
     5 --- ORIGINAL/inc/x86_64/efibind.h	2015-08-20 11:13:34.298199394 -0700
       
     6 +++ ./gnu-efi-3.0/inc/x86_64/efibind.h	2015-08-20 13:34:46.421775385 -0700
       
     7 @@ -58,7 +58,9 @@
       
     8          typedef unsigned short      uint16_t;
       
     9          typedef short               int16_t;
       
    10          typedef unsigned char       uint8_t;
       
    11 -        typedef signed char         int8_t;
       
    12 +	#ifndef _SYS_STDINT_H
       
    13 +        	typedef signed char         int8_t;
       
    14 +	#endif
       
    15      #elif defined(UNIX_LP64)
       
    16  
       
    17          /*  Use LP64 programming model from C_FLAGS for integer width declarations */