components/gnuefi/patches/02-efibind.patch
author David Hollister <david.hollister@oracle.com>
Wed, 12 Oct 2016 14:01:13 -0600
changeset 7094 61352b4e5af5
parent 5855 986a46fa92f7
permissions -rw-r--r--
24797203 OpenStack RBAC profiles allow reading too many files 24797238 keystone RBAC and SMF should point at Apache log files 24797256 cinder RBAC and SMF should point at Apache log files 24830959 horizon RBAC and SMF should point at Apache log files

# Source: Internal
# Info: Written internally so this component can be built on Solaris.
# Status: This patch is offered at https://sourceforge.net/p/gnu-efi/patches/37/

--- ORIGINAL/inc/x86_64/efibind.h	2015-08-20 11:13:34.298199394 -0700
+++ ./gnu-efi-3.0/inc/x86_64/efibind.h	2015-08-20 13:34:46.421775385 -0700
@@ -58,7 +58,9 @@
         typedef unsigned short      uint16_t;
         typedef short               int16_t;
         typedef unsigned char       uint8_t;
-        typedef signed char         int8_t;
+	#ifndef _SYS_STDINT_H
+        	typedef signed char         int8_t;
+	#endif
     #elif defined(UNIX_LP64)
 
         /*  Use LP64 programming model from C_FLAGS for integer width declarations */