various: move strings.h inclusion to common.h

This commit is contained in:
Kacper Michajłow 2024-05-01 19:43:17 +02:00
parent 18ef834ef4
commit fffe723fc4
21 changed files with 4 additions and 20 deletions

View File

@ -27,6 +27,7 @@
#include "config.h"
#if HAVE_POSIX || defined(__MINGW32__)
#include <strings.h>
#include <unistd.h>
#endif

View File

@ -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"

View File

@ -21,7 +21,6 @@
#include <limits.h>
#include <stdbool.h>
#include <string.h>
#include <strings.h>
#include <errno.h>
#include <assert.h>
@ -41,6 +40,7 @@
#include "audio/chmap_avchannel.h"
#include "common/common.h"
#include "common/msg.h"
#include "common/tags.h"
#include "common/av_common.h"

View File

@ -19,7 +19,6 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -21,7 +21,6 @@
#include <assert.h>
#include <dirent.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <libavutil/common.h>

View File

@ -17,7 +17,6 @@
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <dirent.h>
#include <libavutil/common.h>

View File

@ -17,7 +17,6 @@
#include <stddef.h>
#include <string.h>
#include <strings.h>
#include "misc/bstr.h"
#include "common/common.h"

View File

@ -16,7 +16,6 @@
*/
#include <string.h>
#include <strings.h>
#include <assert.h>
#include <stdarg.h>
#include <stdint.h>

View File

@ -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

View File

@ -26,7 +26,6 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
static const struct lang {
char match[4];

View File

@ -22,7 +22,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include "common/common.h"
#include "common/global.h"

View File

@ -23,7 +23,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include "libmpv/client.h"

View File

@ -17,7 +17,6 @@
#include <dirent.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <assert.h>

View File

@ -17,7 +17,6 @@
#include <assert.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>

View File

@ -17,7 +17,6 @@
#include <stddef.h>
#include <stdbool.h>
#include <strings.h>
#include <inttypes.h>
#include <assert.h>

View File

@ -17,7 +17,6 @@
#include <assert.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>

View File

@ -16,7 +16,6 @@
*/
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <dirent.h>
#include <math.h>

View File

@ -19,7 +19,6 @@
#include <stdlib.h>
#include <limits.h>
#include <strings.h>
#include <assert.h>
#include "osdep/io.h"

View File

@ -27,7 +27,6 @@
*/
#include <string.h>
#include <strings.h>
#include <assert.h>
#include <libbluray/bluray.h>

View File

@ -24,7 +24,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <errno.h>
#include <assert.h>

View File

@ -25,7 +25,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <stdbool.h>
#include <math.h>
#include <assert.h>