aboutsummaryrefslogtreecommitdiff
path: root/block/sheepdog.c
diff options
context:
space:
mode:
authorIzumi Tsutsui <tsutsui@ceres.dti.ne.jp>2010-08-08 18:31:04 +0900
committerKevin Wolf <kwolf@redhat.com>2010-08-30 18:29:22 +0200
commit010cb2b314f2fa629b6b0b8f2f73c9d562fff49f (patch)
tree5595cd196da3653722e9425a158f9814f367079b /block/sheepdog.c
parentee1811965fd15e0b41f8d508b951a8ab826ae3a7 (diff)
sheepdog: remove unnecessary includes
"qemu_socket.h" includes all necessary files and including <netinet/tcp.h> without <netinet/in.h> could cause errors on some systems. Signed-off-by: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/sheepdog.c')
-rw-r--r--block/sheepdog.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/block/sheepdog.c b/block/sheepdog.c
index 81aa564f26..e62820a804 100644
--- a/block/sheepdog.c
+++ b/block/sheepdog.c
@@ -8,16 +8,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef _WIN32
-#include <windows.h>
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#else
-#include <netdb.h>
-#include <netinet/tcp.h>
-
-#define closesocket(s) close(s)
-#endif
#include "qemu-common.h"
#include "qemu-error.h"