From 790f793844390ece526ff654dc1bdddff5f5b4e8 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Date: Mon, 25 Mar 2024 01:30:37 +0100 Subject: avutil/common: Don't auto-include mem.h There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- tests/api/api-threadmessage-test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/api/api-threadmessage-test.c') diff --git a/tests/api/api-threadmessage-test.c b/tests/api/api-threadmessage-test.c index c96b473c43..b9a4bdca16 100644 --- a/tests/api/api-threadmessage-test.c +++ b/tests/api/api-threadmessage-test.c @@ -25,6 +25,7 @@ #include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/frame.h" +#include "libavutil/mem.h" #include "libavutil/threadmessage.h" #include "libavutil/thread.h" // not public -- cgit v1.2.3