[libvirt] [PATCH] Make sure struct sockaddr_in is defined on FreeBSD
Matthias Bolte
matthias.bolte at googlemail.com
Sat Nov 13 15:52:49 UTC 2010
---
src/util/network.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/util/network.h b/src/util/network.h
index 0900e29..724a5f8 100644
--- a/src/util/network.h
+++ b/src/util/network.h
@@ -21,6 +21,10 @@
# include <netdb.h>
# include <stdbool.h>
+# ifdef __FreeBSD__
+# include <netinet/in.h>
+# endif
+
typedef struct {
union {
struct sockaddr sa;
--
1.7.0.4
More information about the libvir-list
mailing list