Use __NBSD_LIBC to specialize common headers for NetBSD headers compilation.

This patch contains the required changes (under __NBSD_LIBC definition) of the common headers to compile the NetBSD libc.
This commit is contained in:
Gianluca Guida
2011-02-14 15:10:57 +00:00
parent 05480c229a
commit f7d5c8ff8d
2 changed files with 6 additions and 0 deletions

View File

@@ -69,8 +69,10 @@
#define _POSIX_SOURCE 1
#endif
#ifndef __NBSD_LIBC
/* What is a va_list? */
#include <stdarg.h>
#define _BSD_VA_LIST_ va_list
#endif /* !__NBSD_LIBC */
#endif /* _MINIX_ANSI_H */