Module Name: src
Committed By: jakllsch
Date: Tue Apr 8 17:55:19 UTC 2014
Modified Files:
src/sys/external/bsd/gnu-efi/dist/inc: efistdarg.h
Log Message:
Use <sys/stdarg.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/efistdarg.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/efistdarg.h
diff -u src/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h:1.1.1.1 src/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h:1.2
--- src/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h:1.1.1.1 Tue Apr 1 16:16:07 2014
+++ src/sys/external/bsd/gnu-efi/dist/inc/efistdarg.h Tue Apr 8 17:55:18 2014
@@ -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) )