getservbyport replacement for Win CE
[platform/upstream/c-ares.git] / ares_platform.h
index 8d61d25..e6885ae 100644 (file)
@@ -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 */