net_db.c doesn't import winsock2.h
authorAndy Wingo <wingo@pobox.com>
Wed, 20 Feb 2013 21:57:02 +0000 (22:57 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 20 Feb 2013 21:57:02 +0000 (22:57 +0100)
* libguile/net_db.c: Don't include winsock2.h; gnulib handles this for
  us as necessary.

libguile/net_db.c

index 4d63aab..8dccb72 100644 (file)
@@ -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
 
 #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"