components/gnuefi/patches/02-efibind.patch
author Panchami Sanjeev <panchami.sanjeev@oracle.com>
Mon, 02 May 2016 02:28:54 -0700
changeset 5900 8693308c6031
parent 5855 986a46fa92f7
permissions -rw-r--r--
20648341 problem in UTILITY/CUPS

# 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 */