1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 01:40:27 +00:00

configure.ng: Include <string.h> for memset in WORKING_GETADDRINFO probe

Otherwise, the probe always fails with compilers which do not
support implicit function declarations.
This commit is contained in:
Florian Weimer 2023-02-02 09:56:42 +01:00 committed by Alexander Barton
parent 50114cd017
commit 0e678f766f

View File

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