diff --git a/lib/libvmmapi/vmmapi.h b/lib/libvmmapi/vmmapi.h --- a/lib/libvmmapi/vmmapi.h +++ b/lib/libvmmapi/vmmapi.h @@ -31,6 +31,7 @@ #ifndef _VMMAPI_H_ #define _VMMAPI_H_ +#include #include #include #include @@ -77,6 +78,7 @@ VM_PCIROM, }; +__BEGIN_DECLS /* * Get the length and name of the memory segment identified by 'segid'. * Note that system memory segments are identified with a nul name. @@ -264,5 +266,6 @@ */ int vm_snapshot_req(struct vm_snapshot_meta *meta); int vm_restore_time(struct vmctx *ctx); +__END_DECLS #endif /* _VMMAPI_H_ */