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/b8c4fbc12ac8
branches:  trunk
changeset: 834591:b8c4fbc12ac8
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 89c5733f8bf9 -r b8c4fbc12ac8 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 89c5733f8bf9 -r b8c4fbc12ac8 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