From 108af7b957371423187b1498729bd6a467aae5ef Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 10 Sep 2009 10:58:39 +0200 Subject: [PATCH] sockets: add unix_*_opts for windows. Add unix_*_opts function dummys for windows. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- qemu-sockets.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/qemu-sockets.c b/qemu-sockets.c index 6e212fe..0d0ce44 100644 --- a/qemu-sockets.c +++ b/qemu-sockets.c @@ -453,6 +453,18 @@ int unix_connect(const char *path) #else +int unix_listen_opts(QemuOpts *opts) +{ + fprintf(stderr, "unix sockets are not available on windows\n"); + return -1; +} + +int unix_connect_opts(QemuOpts *opts) +{ + fprintf(stderr, "unix sockets are not available on windows\n"); + return -1; +} + int unix_listen(const char *path, char *ostr, int olen) { fprintf(stderr, "unix sockets are not available on windows\n"); -- 1.7.9.5