-
Notifications
You must be signed in to change notification settings - Fork 12
/
libvirt-0.8.0-mingw.patch
64 lines (54 loc) · 1.64 KB
/
libvirt-0.8.0-mingw.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 7950bcd..6a2e569 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -511,14 +511,9 @@ virNWFilterHashTableRemoveEntry;
# nwfilter_gentech_driver.h
-virNWFilterInstantiateFilter;
-virNWFilterTeardownFilter;
# nwfilter_learnipaddr.h
-virNWFilterGetIpAddrForIfname;
-virNWFilterDelIpAddrForIfname;
-virNWFilterLookupLearnReq;
# pci.h
@@ -623,7 +618,6 @@ virMutexUnlock;
virCondInit;
virCondDestroy;
virCondWait;
-virCondWaitUntil;
virCondSignal;
virCondBroadcast;
@@ -667,7 +661,6 @@ virFileReadPid;
virFileLinkPointsTo;
virParseNumber;
virParseVersionString;
-virPipeReadUntilEOF;
virAsprintf;
virRun;
virSkipSpaces;
diff --git a/src/conf/nwfilter_conf.c b/src/conf/nwfilter_conf.c
index f4af126..336ea3b 100644
--- a/src/conf/nwfilter_conf.c
+++ b/src/conf/nwfilter_conf.c
@@ -33,6 +33,7 @@
#if HAVE_NET_ETHERNET_H
# include <net/ethernet.h>
#endif
+#include <unistd.h>
#include "internal.h"
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index e3df27b..c2b58e6 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -6475,7 +6475,11 @@ done:
/*----------------------------------------------------------------------*/
static int
-remoteAuthenticate (virConnectPtr conn, struct private_data *priv, int in_open,
+remoteAuthenticate (virConnectPtr conn, struct private_data *priv, int in_open
+#if !HAVE_SASL && !HAVE_POLKIT
+ ATTRIBUTE_UNUSED
+#endif
+ ,
virConnectAuthPtr auth
#if !HAVE_SASL && !HAVE_POLKIT
ATTRIBUTE_UNUSED