summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-03-22 13:28:47 (GMT)
committerYang Tse <yangsita@gmail.com>2011-03-22 13:28:47 (GMT)
commitd81cae7a6744c6e8dbf5575c37f8f8b3ad870fa1 (patch)
tree7f18bed2e65abffb84842548c3f7a53b8e234be4 /ares.h
parent8c503ddf7993f05453f67baf8892178c428fa741 (diff)
downloadc-ares-d81cae7a6744c6e8dbf5575c37f8f8b3ad870fa1.zip
c-ares-d81cae7a6744c6e8dbf5575c37f8f8b3ad870fa1.tar.gz
c-ares-d81cae7a6744c6e8dbf5575c37f8f8b3ad870fa1.tar.bz2
Windows CE specific adjustment
All versions of Windows CE support Winsock 1.1
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index 9456a14..2b38303 100644
--- a/ares.h
+++ b/ares.h
@@ -1,6 +1,6 @@
/* Copyright 1998, 2009 by the Massachusetts Institute of Technology.
- * Copyright (C) 2007-2010 by Daniel Stenberg
+ * Copyright (C) 2007-2011 by Daniel Stenberg
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
@@ -48,6 +48,12 @@
# include <netinet/in.h>
# include <sys/socket.h>
# include <tcp.h>
+#elif defined(_WIN32_WCE)
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+# endif
+# include <windows.h>
+# include <winsock.h>
#elif defined(WIN32)
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN