Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/gnu-efi/dist/inc Use sys/stdint.h instead o...



details:   https://anonhg.NetBSD.org/src/rev/080dc3e3f22e
branches:  trunk
changeset: 363978:080dc3e3f22e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Aug 18 20:17:51 2018 +0000

description:
Use sys/stdint.h instead of stdint.h on NetBSD

diffstat:

 sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h |  4 +++-
 sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h     |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 11abaf7bb729 -r 080dc3e3f22e sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h
--- a/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h       Sat Aug 18 17:37:25 2018 +0000
+++ b/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h       Sat Aug 18 20:17:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efibind.h,v 1.1.1.1 2018/08/16 18:17:47 jmcneill Exp $ */
+/*     $NetBSD: efibind.h,v 1.2 2018/08/18 20:17:51 jmcneill Exp $     */
 
 /*
  * Copright (C) 2014 - 2015 Linaro Ltd.
@@ -30,6 +30,8 @@
 typedef unsigned char       uint8_t;
 typedef signed char         int8_t;   // unqualified 'char' is unsigned on ARM
 
+#elif defined(__NetBSD__)
+#include <sys/stdint.h>
 #else
 #include <stdint.h>
 #endif
diff -r 11abaf7bb729 -r 080dc3e3f22e sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h
--- a/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h   Sat Aug 18 17:37:25 2018 +0000
+++ b/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h   Sat Aug 18 20:17:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efibind.h,v 1.1.1.1 2018/08/16 18:17:47 jmcneill Exp $ */
+/*     $NetBSD: efibind.h,v 1.2 2018/08/18 20:17:51 jmcneill Exp $     */
 
 /*
  * Copright (C) 2014 - 2015 Linaro Ltd.
@@ -30,6 +30,8 @@
 typedef unsigned char       uint8_t;
 typedef signed char         int8_t;   // unqualified 'char' is unsigned on ARM
 
+#elif defined(__NetBSD__)
+#include <sys/stdint.h>
 #else
 #include <stdint.h>
 #endif



Home | Main Index | Thread Index | Old Index