1 /* $NetBSD: nl_types.h,v 1.3 2014/11/12 15:08:52 joerg Exp $ */
3 #if defined(_NLS_PRIVATE)
5 /* #if defined(__minix) */
6 /* <sys/cdefs> defines __format_arg, but on some other platforms it doesn't.
7 * <nl_types.h> includes <sys/cdefs> because it needs __format_arg. As it might
8 * not be defined, we do it here as a work around. */
10 #define __format_arg(fmtarg) __attribute__((__format_arg__ (fmtarg)))
12 /* #endif defined(__minix) */
14 #include "../../include/nl_types.h"
15 #elif defined(__GNUC__)
16 #include_next <nl_types.h>