summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2024-05-01 19:43:17 +0200
committerKacper Michajłow <kasper93@gmail.com>2024-05-06 22:01:17 +0200
commitfffe723fc4e3229e387f12dd2fe973ee8c7780c0 (patch)
tree3a5af6b070685ad8216045f6af7a0087327b0b43 /common
parent18ef834ef411893b92e177855ee893f05a0859e9 (diff)
downloadmpv-fffe723fc4e3229e387f12dd2fe973ee8c7780c0.tar.bz2
mpv-fffe723fc4e3229e387f12dd2fe973ee8c7780c0.tar.xz
various: move strings.h inclusion to common.h
Diffstat (limited to 'common')
-rw-r--r--common/common.h1
-rw-r--r--common/tags.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/common/common.h b/common/common.h
index 44e9a1ba15..cfd610bbf3 100644
--- a/common/common.h
+++ b/common/common.h
@@ -27,6 +27,7 @@
#include "config.h"
#if HAVE_POSIX || defined(__MINGW32__)
+#include <strings.h>
#include <unistd.h>
#endif
diff --git a/common/tags.c b/common/tags.c
index 43f557dd6c..67e428766a 100644
--- a/common/tags.c
+++ b/common/tags.c
@@ -17,9 +17,9 @@
#include <stddef.h>
#include <limits.h>
-#include <strings.h>
#include <assert.h>
#include <libavutil/dict.h>
+#include "common.h"
#include "tags.h"
#include "misc/bstr.h"