aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-05-30 23:35:13 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-05-30 23:35:13 +0300
commit2a59d367d6ff2be09d5cc952f3ece82517062702 (patch)
tree9c5041aa0503fdd45c2d8d236b7f0d09ef040770 /configure.ac
parent3544e5c168eb536ea3ef7244bc415b01e09254ef (diff)
downloadlibmicrohttpd-2a59d367d6ff2be09d5cc952f3ece82517062702.tar.gz
libmicrohttpd-2a59d367d6ff2be09d5cc952f3ece82517062702.zip
configure: Fixed 'getsockname' detection with special compiler flags
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 42a1f361..203b9d30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -805,6 +805,9 @@ AC_CHECK_DECLS([getsockname],
805#ifdef HAVE_SYS_SOCKET_H 805#ifdef HAVE_SYS_SOCKET_H
806#include <sys/socket.h> 806#include <sys/socket.h>
807#endif 807#endif
808#ifdef HAVE_UNISTD_H
809#include <unistd.h>
810#endif
808#ifdef HAVE_WINSOCK2_H 811#ifdef HAVE_WINSOCK2_H
809#include <winsock2.h> 812#include <winsock2.h>
810#endif 813#endif