mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-05 04:15:49 +08:00
err.h: For rtems include <freebsd/sys/_types.h>
This commit is contained in:
parent
dafaba3b0b
commit
f3e8e10b34
@ -44,8 +44,13 @@
|
||||
* for utilities to have to include one of them to include err.h, so we get
|
||||
* __va_list from <sys/_types.h> and use it.
|
||||
*/
|
||||
#include <freebsd/bsd.h>
|
||||
#include <sys/cdefs.h>
|
||||
#ifdef __rtems__
|
||||
#include <freebsd/sys/_types.h>
|
||||
#else
|
||||
#include <sys/_types.h>
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
void err(int, const char *, ...) __dead2 __printf0like(2, 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user