From: Richard Jones Date: Fri, 20 Nov 2009 10:41:07 +0000 (+0000) Subject: daemon/Win32: Don't include missing headers. X-Git-Tag: 1.0.80~85 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=295a920f52911c4220dc51245f0cf9d0d2c41241;p=libguestfs.git daemon/Win32: Don't include missing headers. This is a partial fix for code in guestfsd.c where many of these header files are missing on Win32. --- diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 9375ede..4b91660 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -27,15 +27,27 @@ #include #include #include -#include #include -#include #include -#include #include #include #include + +#ifdef HAVE_NETDB_H +#include +#endif + +#ifdef HAVE_SYS_SELECT_H +#include +#endif + +#ifdef HAVE_SYS_WAIT_H +#include +#endif + +#ifdef HAVE_PRINTF_H #include +#endif #include "c-ctype.h" #include "ignore-value.h"