Add sys/types.h for both kernel and user compiles.

This commit is contained in:
Nate Lawson 2004-05-05 20:02:02 +00:00
parent c6c9ee90fb
commit c3bac8b5d5

View File

@ -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