summaryrefslogtreecommitdiff
path: root/ares_platform.h
diff options
context:
space:
mode:
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 */