Use <sys/stdarg.h> on NetBSD.

This commit is contained in:
jakllsch 2014-04-08 17:55:18 +00:00
parent 2dbac6d46c
commit 71ea5458bc
1 changed files with 5 additions and 1 deletions

View File

@ -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 <sys/stdarg.h>
#else
#include "stdarg.h"
#endif
#else
#define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) )