fix MISRA-C 243S

Included file not protected with #define, this
feature is required.

Signed-off-by: huihuang.shi <huihuang.shi@intel.com>
This commit is contained in:
huihuang.shi 2018-05-30 10:25:21 +08:00 committed by lijinxia
parent 9af35baf5a
commit ba1b034e1e

View File

@ -27,6 +27,8 @@
* $FreeBSD$
*/
#ifndef INSTR_EMUL_WRAPPER_H
#define INSTR_EMUL_WRAPPER_H
#include <cpu.h>
struct vie_op {
@ -186,3 +188,4 @@ int vm_get_seg_desc(struct vcpu *vcpu, int reg,
int vm_set_seg_desc(struct vcpu *vcpu, int reg,
struct seg_desc *desc);
int vm_restart_instruction(struct vcpu *vcpu);
#endif