Add <sys/cdefs.h>.

This header file uses __packed, without including <sys/cdefs.h>. This
means it cannot be used in the way described in sysarch(3) by only
including <machine/sysarch.h>.
This commit is contained in:
ed 2010-02-20 13:33:50 +00:00
parent f41a820b03
commit 4d8f444d02

View File

@ -35,6 +35,8 @@
#ifndef _MACHINE_SYSARCH_H_
#define _MACHINE_SYSARCH_H_
#include <sys/cdefs.h>
#define I386_GET_LDT 0
#define I386_SET_LDT 1
#define LDT_AUTO_ALLOC 0xffffffff