* SUCH DAMAGE.
*/
-/* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
- gjb@cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)inet_addr.c 8.1 (Berkeley) 6/17/93";
#include <ctype.h>
+#ifdef __MINGW32__
+/* Include for MinGW only. Cygwin will have the latter. */
+#include <winsock2.h>
+#else
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#endif
#if 0