From 71ea5458bcc7f4d60eef2469a734a1cd1a0ad733 Mon Sep 17 00:00:00 2001 From: jakllsch Date: Tue, 8 Apr 2014 17:55:18 +0000 Subject: [PATCH] Use on NetBSD. --- sys/external/bsd/gnu-efi/dist/inc/efistdarg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h b/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h index 36a269cc128b..eb8513cfdeac 100644 --- a/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h +++ b/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h @@ -1,4 +1,4 @@ -/* $NetBSD: efistdarg.h,v 1.1.1.1 2014/04/01 16:16:07 jakllsch Exp $ */ +/* $NetBSD: efistdarg.h,v 1.2 2014/04/08 17:55:18 jakllsch Exp $ */ #ifndef _EFISTDARG_H_ #define _EFISTDARG_H_ @@ -21,7 +21,11 @@ Revision History --*/ #ifdef __GNUC__ +#ifdef __NetBSD__ +#include +#else #include "stdarg.h" +#endif #else #define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) )