summaryrefslogtreecommitdiff
path: root/ares_platform.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-03-27 02:27:49 (GMT)
committerYang Tse <yangsita@gmail.com>2011-03-27 02:27:49 (GMT)
commit74f1bd8c22b8e1576883dc02e8ea231f6bbc8ca6 (patch)
treef85709ec7fe03b764e5bbfcf9f5fc57720f729bb /ares_platform.h
parent5e5c0132e6469a7eaa580ebc156fd87e650ee4cb (diff)
downloadc-ares-74f1bd8c22b8e1576883dc02e8ea231f6bbc8ca6.zip
c-ares-74f1bd8c22b8e1576883dc02e8ea231f6bbc8ca6.tar.gz
c-ares-74f1bd8c22b8e1576883dc02e8ea231f6bbc8ca6.tar.bz2
getservbyport replacement for Win CE
Diffstat (limited to 'ares_platform.h')
-rw-r--r--ares_platform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ares_platform.h b/ares_platform.h
index 8d61d25..e6885ae 100644
--- a/ares_platform.h
+++ b/ares_platform.h
@@ -3,6 +3,7 @@
/* Copyright 1998 by the Massachusetts Institute of Technology.
+ * Copyright (C) 2004 - 2011 by Daniel Stenberg et al
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
@@ -33,4 +34,10 @@ win_platform ares__getplatform(void);
#endif
+#if defined(_WIN32_WCE)
+
+struct servent *getservbyport(int port, const char *proto);
+
+#endif
+
#endif /* HEADER_CARES_PLATFORM_H */