]> arthur.barton.de Git - ngircd-alex.git/commitdiff
configure.ng: Include <string.h> for memset in WORKING_GETADDRINFO probe
authorFlorian Weimer <fweimer@redhat.com>
Thu, 2 Feb 2023 08:56:42 +0000 (09:56 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 5 Feb 2023 20:35:40 +0000 (21:35 +0100)
Otherwise, the probe always fails with compilers which do not
support implicit function declarations.

configure.ng

index 28ababbf450234b33e409af5ed1dfebf75067274..b8bcd24d13bad32c47ecb97ce54450e4f49d1e83 100644 (file)
@@ -101,6 +101,7 @@ AC_DEFUN([WORKING_GETADDRINFO],[
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
+#include <string.h>
 int
 main(int argc, char **argv)
 {