components/shim/patches/05-efiauthenticated_h.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 19 Apr 2017 09:52:51 -0700
changeset 7914 f4f86a568115
parent 7222 37e367b978c0
permissions -rw-r--r--
25675711 Update cmake to version 3.7 (fix evaluation build)

# Source: Internal
# Info: Written internally so this component can be built on Solaris.
# Status: This patch is offered at https://github.com/rhinstaller/shim/issues/54

--- ORIGINAL/include/efiauthenticated.h	2016-06-24 03:08:20.857258353 +0000
+++ shim-0.9/include/efiauthenticated.h	2016-08-01 21:25:06.234152722 +0000
@@ -72,6 +72,11 @@
     0x4aafd29d, 0x68df, 0x49ee, {0x8a, 0xa9, 0x34, 0x7d, 0x37, 0x56, 0x65, 0xa7} \
   }
 
+#ifdef __sun
+#include <sys/int_types.h> 
+typedef    uint64_t    UINTN; 
+#endif
+
 ///
 /// WIN_CERTIFICATE_UEFI_GUID.CertType
 ///