[Scummvm-git-logs] scummvm master -> c1fd025a64470020851cd6c42f1359c1d893b7dc
sev-
noreply at scummvm.org
Mon Mar 6 16:12:00 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c1fd025a64 CONFIGURE: ENET: Add more system headers in checks
Commit: c1fd025a64470020851cd6c42f1359c1d893b7dc
https://github.com/scummvm/scummvm/commit/c1fd025a64470020851cd6c42f1359c1d893b7dc
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2023-03-06T17:11:55+01:00
Commit Message:
CONFIGURE: ENET: Add more system headers in checks
They mostly come from OpenBSD 7.2 and Debian 11 manual pages, and they
shouldn't hurt since backends/networking/enet/source/unix.cpp already
includes them.
Changed paths:
configure
diff --git a/configure b/configure
index 64b66ff35f0..f6e3b35163d 100755
--- a/configure
+++ b/configure
@@ -4193,6 +4193,7 @@ if test "$_enet" = yes ; then
echo_n " "
echocheck "sendmsg"
cat > $TMPC << EOF
+#include <sys/types.h>
#include <sys/socket.h>
int main(void) { return sendmsg(0, 0, 0); }
EOF
@@ -4207,6 +4208,7 @@ EOF
echo_n " "
echocheck "recvmsg"
cat > $TMPC << EOF
+#include <sys/types.h>
#include <sys/socket.h>
int main(void) { return recvmsg(0, 0, 0); }
EOF
@@ -4243,6 +4245,8 @@ if test "$_enet" = yes ; then
echo_n " "
echocheck "getaddrinfo"
cat > $TMPC << EOF
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netdb.h>
int main(void) { return getaddrinfo(0, 0, 0, 0); }
EOF
@@ -4257,6 +4261,8 @@ EOF
echo_n " "
echocheck "getnameinfo"
cat > $TMPC << EOF
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netdb.h>
int main(void) { return getnameinfo(0, 0, 0, 0, 0, 0, 0); }
EOF
@@ -4313,6 +4319,7 @@ EOF
echo_n " "
echocheck "fcntl"
cat > $TMPC << EOF
+#include <unistd.h>
#include <fcntl.h>
int main(void) { return fcntl(0, 0); }
EOF
@@ -4327,6 +4334,7 @@ EOF
echo_n " "
echocheck "inet_pton"
cat > $TMPC << EOF
+#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { return inet_pton(0, 0, 0); }
EOF
@@ -4341,6 +4349,7 @@ EOF
echo_n " "
echocheck "inet_ntop"
cat > $TMPC << EOF
+#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { inet_ntop(0, 0, 0, 0); return 0; }
EOF
More information about the Scummvm-git-logs
mailing list