[FFmpeg-devel] [PATCH] accept socklen_t in sys/types.h
Reimar Döffinger
Reimar.Doeffinger
Fri Dec 12 23:22:37 CET 2008
Hello,
in another case of "doing things different just to annoy",
OpenBSD has socklen_t only in sys/types.h and while sys/socket.h
requires that header it does not include it.
That does not cause any problems in the actual code, but the
autodetection is broken, which this patch fixes:
Index: configure
===================================================================
--- configure (revision 16083)
+++ configure (working copy)
@@ -1960,7 +1957,7 @@
# Network check
if enabled network; then
- check_type sys/socket.h socklen_t
+ check_type "sys/types.h sys/socket.h" socklen_t
# Prefer arpa/inet.h over winsock2
if check_header arpa/inet.h ; then
check_func closesocket
Objections or ok to apply?
Greetings,
Reimar D?ffinger
More information about the ffmpeg-devel
mailing list