[PR] avformat/tls_openssl: Add a missing <string.h> include (PR #23595)

Martin Storsjö via ffmpeg-devel <[email protected]>
Newsgroups gmane.comp.video.ffmpeg.devel
Message-ID <178238576417.59.9984692015464742136@29965ddac10e>
PR #23595 opened by Martin Storsjö (mstorsjo)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23595
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23595.patch

This is needed when building with OpenSSL enabled on macOS after
c32a719cb27a7c9b81501f943a4ed9b64c8fc378.



From c9fa3919429a357b0c628b700786bf0ce3681fac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <[email protected]>
Date: Thu, 25 Jun 2026 14:08:03 +0300
Subject: [PATCH] avformat/tls_openssl: Add a missing <string.h> include

This is needed when building with OpenSSL enabled on macOS after
c32a719cb27a7c9b81501f943a4ed9b64c8fc378.
---
 libavformat/tls_openssl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c
index 55e6e6b628..5d3be96fbb 100644
--- a/libavformat/tls_openssl.c
+++ b/libavformat/tls_openssl.c
@@ -37,6 +37,7 @@
 #if HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
+#include <string.h>
 
 #define DTLS_HANDSHAKE_TIMEOUT_US 30000000
 /**
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.