configure: Fixed 'getsockname' detection with special compiler flags

This commit is contained in:
Evgeny Grin (Karlson2k)
2019-05-30 23:35:13 +03:00
parent 3544e5c168
commit 2a59d367d6
+3
View File
@@ -805,6 +805,9 @@ AC_CHECK_DECLS([getsockname],
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#endif