qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ed Maste <emaste@freebsd.org>
To: qemu-devel@nongnu.org
Cc: Ed Maste <emaste@freebsd.org>
Subject: [Qemu-devel] [PATCH] vscclient: Add required headers to fix build on FreeBSD
Date: Wed, 18 Jun 2014 08:58:00 -0400	[thread overview]
Message-ID: <1403096280-68774-1-git-send-email-emaste@freebsd.org> (raw)

Signed-off-by: Ed Maste <emaste@freebsd.org>
---
 libcacard/vscclient.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c
index ab9b2b8..80111df 100644
--- a/libcacard/vscclient.c
+++ b/libcacard/vscclient.c
@@ -11,6 +11,8 @@
  */
 
 #ifndef _WIN32
+#include <sys/socket.h>
+#include <netinet/in.h>
 #include <netdb.h>
 #define closesocket(x) close(x)
 #endif
-- 
1.8.4

             reply	other threads:[~2014-06-18 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18 12:58 Ed Maste [this message]
2014-06-18 14:41 ` [Qemu-devel] [PATCH] vscclient: Add required headers to fix build on FreeBSD Paolo Bonzini
2014-06-18 15:22   ` Andreas Färber
2014-06-20 20:38     ` Ed Maste
2014-06-21 12:48 ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403096280-68774-1-git-send-email-emaste@freebsd.org \
    --to=emaste@freebsd.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).