librb: fix socklen_t check

This commit is contained in:
William Pitcock 2016-03-20 04:24:30 -05:00
parent 9783438eb4
commit eb55877548

View file

@ -144,6 +144,7 @@ AC_CHECK_TYPE([socklen_t], rb_cv_socklen_t=socklen_t,[
#endif #endif
#ifdef HAVE_WINSOCK2_H #ifdef HAVE_WINSOCK2_H
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h>
#endif #endif
int getpeername (int, $arg2 *, $t *); int getpeername (int, $arg2 *, $t *);
],[ ],[