diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index a5a84cff2..3d0daee38 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -228,6 +228,7 @@ int mingw_listen(int sockfd, int backlog); | |||
228 | int mingw_accept(int sockfd1, struct sockaddr *sa, socklen_t *sz); | 228 | int mingw_accept(int sockfd1, struct sockaddr *sa, socklen_t *sz); |
229 | int mingw_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, | 229 | int mingw_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, |
230 | struct timeval *timeout); | 230 | struct timeval *timeout); |
231 | int mingw_getpeername(int fd, struct sockaddr *sa, socklen_t *sz); | ||
231 | 232 | ||
232 | NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM); | 233 | NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM); |
233 | 234 | ||
@@ -240,6 +241,7 @@ NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len | |||
240 | #define shutdown mingw_shutdown | 241 | #define shutdown mingw_shutdown |
241 | #define accept mingw_accept | 242 | #define accept mingw_accept |
242 | #define select mingw_select | 243 | #define select mingw_select |
244 | #define getpeername mingw_getpeername | ||
243 | 245 | ||
244 | /* | 246 | /* |
245 | * sys/time.h | 247 | * sys/time.h |
@@ -472,6 +474,7 @@ DIR *mingw_opendir(const char *path); | |||
472 | #define is_dir_sep(c) ((c) == '/' || (c) == '\\') | 474 | #define is_dir_sep(c) ((c) == '/' || (c) == '\\') |
473 | 475 | ||
474 | pid_t FAST_FUNC mingw_spawn(char **argv); | 476 | pid_t FAST_FUNC mingw_spawn(char **argv); |
477 | pid_t FAST_FUNC mingw_spawn_detach(char **argv); | ||
475 | intptr_t FAST_FUNC mingw_spawn_proc(const char **argv); | 478 | intptr_t FAST_FUNC mingw_spawn_proc(const char **argv); |
476 | int mingw_execv(const char *cmd, char *const *argv); | 479 | int mingw_execv(const char *cmd, char *const *argv); |
477 | int mingw_execvp(const char *cmd, char *const *argv); | 480 | int mingw_execvp(const char *cmd, char *const *argv); |