xref: /freebsd/sys/compat/linuxkpi/common/include/linux/stddef.h (revision 7c0c69d1a0f3735e315a48436bffbd482f956270)
17c7419f6SEmmanuel Vadot /* Public domain */
27c7419f6SEmmanuel Vadot 
37c7419f6SEmmanuel Vadot #ifndef _LINUXKPI_LINUX_STDDEF_H_
47c7419f6SEmmanuel Vadot #define	_LINUXKPI_LINUX_STDDEF_H_
57c7419f6SEmmanuel Vadot 
67c7419f6SEmmanuel Vadot #include <sys/stddef.h>
77c7419f6SEmmanuel Vadot 
8*7c0c69d1SBjoern A. Zeeb #define	struct_group(NAME, ...)						\
9*7c0c69d1SBjoern A. Zeeb     union {								\
10*7c0c69d1SBjoern A. Zeeb 	struct { __VA_ARGS__ };						\
11*7c0c69d1SBjoern A. Zeeb 	struct { __VA_ARGS__ } NAME;					\
12*7c0c69d1SBjoern A. Zeeb     }
13*7c0c69d1SBjoern A. Zeeb 
147c7419f6SEmmanuel Vadot #endif	/* _LINUXKPI_LINUX_STDDEF_H_ */
157c7419f6SEmmanuel Vadot 
16