Module Name: src
Committed By: jmcneill
Date: Sat Aug 18 20:17:51 UTC 2018
Modified Files:
src/sys/external/bsd/gnu-efi/dist/inc/aarch64: efibind.h
src/sys/external/bsd/gnu-efi/dist/inc/arm: efibind.h
Log Message:
Use sys/stdint.h instead of stdint.h on NetBSD
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h
diff -u src/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h:1.1.1.1 src/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h:1.2
--- src/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h:1.1.1.1 Thu Aug 16 18:17:47 2018
+++ src/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h Sat Aug 18 20:17:51 2018
@@ -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 short int16_t;
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
Index: src/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h
diff -u src/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h:1.1.1.1 src/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h:1.2
--- src/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h:1.1.1.1 Thu Aug 16 18:17:47 2018
+++ src/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h Sat Aug 18 20:17:51 2018
@@ -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 short int16_t;
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