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:
parent
f41a820b03
commit
4d8f444d02
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user