summaryrefslogtreecommitdiff
path: root/sys/external/bsd/gnu-efi
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2018-08-18 20:17:51 +0000
committerjmcneill <jmcneill@NetBSD.org>2018-08-18 20:17:51 +0000
commit3e73f6a1b5bdcc2ccde54d61269e91c24dfd7487 (patch)
tree59ee07b727f13f8f809dce25ccc9eaf6fd70fec0 /sys/external/bsd/gnu-efi
parentd8268987cf94e99168eec21d5bdf8a910db78cd4 (diff)
Use sys/stdint.h instead of stdint.h on NetBSD
Diffstat (limited to 'sys/external/bsd/gnu-efi')
-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