Add sys/types.h for both kernel and user compiles.
This commit is contained in:
parent
c6c9ee90fb
commit
c3bac8b5d5
@ -127,6 +127,7 @@
|
||||
/* FreeBSD uses GCC */
|
||||
|
||||
#include "acgcc.h"
|
||||
#include <sys/types.h>
|
||||
#include <machine/acpica_machdep.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
@ -161,7 +162,6 @@
|
||||
/* Not building kernel code, so use libc */
|
||||
#define ACPI_USE_STANDARD_HEADERS
|
||||
#define ACPI_FLUSH_CPU_CACHE()
|
||||
#include <sys/types.h>
|
||||
#if __STDC_HOSTED__
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user