Commit 1cc94f5a authored by Daniel P. Berrangé's avatar Daniel P. Berrangé

Ensure compat header is included after libvirt system header

Signed-off-by: 's avatarDaniel P. Berrangé <berrange@redhat.com>
parent 1e45bd52
...@@ -29,7 +29,6 @@ package libvirt ...@@ -29,7 +29,6 @@ package libvirt
/* /*
#cgo pkg-config: libvirt #cgo pkg-config: libvirt
#include <stdlib.h> #include <stdlib.h>
#include "domain_snapshot_compat.h"
#include "domain_snapshot_wrapper.h" #include "domain_snapshot_wrapper.h"
*/ */
import "C" import "C"
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <libvirt/libvirt.h> #include <libvirt/libvirt.h>
#include <libvirt/virterror.h> #include <libvirt/virterror.h>
#include "domain_compat.h" #include "domain_compat.h"
#include "domain_snapshot_compat.h"
int int
virDomainRevertToSnapshotWrapper(virDomainSnapshotPtr snapshot, virDomainRevertToSnapshotWrapper(virDomainSnapshotPtr snapshot,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment