summaryrefslogtreecommitdiff
path: root/libguile/net_db.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2013-02-20 22:57:02 +0100
committerAndy Wingo <wingo@pobox.com>2013-02-20 22:57:02 +0100
commitf5ea559aa04186534ea6771e3c15d5201fe85c67 (patch)
tree09bb0df5ac5ee8215e6fb47622918eb39f61a596 /libguile/net_db.c
parent0e4288608896eeda4ad6f18cfe91d45be7c87c35 (diff)
downloadguile-f5ea559aa04186534ea6771e3c15d5201fe85c67.tar.gz
net_db.c doesn't import winsock2.h
* libguile/net_db.c: Don't include winsock2.h; gnulib handles this for us as necessary.
Diffstat (limited to 'libguile/net_db.c')
-rw-r--r--libguile/net_db.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libguile/net_db.c b/libguile/net_db.c
index 4d63aabcc..8dccb723a 100644
--- a/libguile/net_db.c
+++ b/libguile/net_db.c
@@ -1,6 +1,6 @@
/* "net_db.c" network database support
* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2006, 2009,
- * 2010, 2011, 2012 Free Software Foundation, Inc.
+ * 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -50,14 +50,10 @@
#include <sys/types.h>
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#else
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#endif
#ifdef __MINGW32__
#include "win32-socket.h"