]> git.meshlink.io Git - meshlink/blobdiff - lib/fake-getaddrinfo.c
Make sure malloc() is declared.
[meshlink] / lib / fake-getaddrinfo.c
index a1d36b123ac7bc8e59d55957e797730a65a38529..d831732d71bd384bcc2b64167da4c88701934c11 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "config.h"
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <sys/socket.h>