summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h4
-rw-r--r--sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h b/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h
index fb49c0a7cb5..13759be865e 100644
--- a/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h
+++ b/sys/external/bsd/gnu-efi/dist/inc/aarch64/efibind.h
@@ -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
diff --git a/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h b/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h
index d2069837110..55b051b46fe 100644
--- a/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h
+++ b/sys/external/bsd/gnu-efi/dist/inc/arm/efibind.h
@@ -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