summaryrefslogtreecommitdiffstats
path: root/misc
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 /misc
parent18ef834ef411893b92e177855ee893f05a0859e9 (diff)
downloadmpv-fffe723fc4e3229e387f12dd2fe973ee8c7780c0.tar.bz2
mpv-fffe723fc4e3229e387f12dd2fe973ee8c7780c0.tar.xz
various: move strings.h inclusion to common.h
Diffstat (limited to 'misc')
-rw-r--r--misc/bstr.c1
-rw-r--r--misc/charset_conv.c2
-rw-r--r--misc/language.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/misc/bstr.c b/misc/bstr.c
index abe688bd14..379b2ed22d 100644
--- a/misc/bstr.c
+++ b/misc/bstr.c
@@ -16,7 +16,6 @@
*/
#include <string.h>
-#include <strings.h>
#include <assert.h>
#include <stdarg.h>
#include <stdint.h>
diff --git a/misc/charset_conv.c b/misc/charset_conv.c
index b54f6362b6..aa08470990 100644
--- a/misc/charset_conv.c
+++ b/misc/charset_conv.c
@@ -21,11 +21,11 @@
#include <stdlib.h>
#include <errno.h>
-#include <strings.h>
#include <assert.h>
#include "config.h"
+#include "common/common.h"
#include "common/msg.h"
#if HAVE_UCHARDET
diff --git a/misc/language.c b/misc/language.c
index 92857f75b4..b94dd8eaf2 100644
--- a/misc/language.c
+++ b/misc/language.c
@@ -26,7 +26,6 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
-#include <strings.h>
static const struct lang {
char match[4];