Unified · Split
| @@ -27,6 +27,7 @@ · 26 unmodified lines | |||
| 27 | #include "config.h" | 27 | #include "config.h" |
| 28 | 28 | ||
| 29 | #if HAVE_POSIX || defined(__MINGW32__) | 29 | #if HAVE_POSIX || defined(__MINGW32__) |
| 30 | #include <strings.h> | ||
| 30 | #include <unistd.h> | 31 | #include <unistd.h> |
| 31 | #endif | 32 | #endif |
| 32 | 33 | ||
| @@ -17,9 +17,9 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include <stddef.h> | 18 | #include <stddef.h> |
| 19 | #include <limits.h> | 19 | #include <limits.h> |
| 20 | #include <strings.h> | ||
| 21 | #include <assert.h> | 20 | #include <assert.h> |
| 22 | #include <libavutil/dict.h> | 21 | #include <libavutil/dict.h> |
| 22 | #include "common.h" | ||
| 23 | #include "tags.h" | 23 | #include "tags.h" |
| 24 | #include "misc/bstr.h" | 24 | #include "misc/bstr.h" |
| 25 | 25 | ||
| @@ -21,7 +21,6 @@ · 20 unmodified lines | |||
| 21 | #include <limits.h> | 21 | #include <limits.h> |
| 22 | #include <stdbool.h> | 22 | #include <stdbool.h> |
| 23 | #include <string.h> | 23 | #include <string.h> |
| 24 | #include <strings.h> | ||
| 25 | #include <errno.h> | 24 | #include <errno.h> |
| 26 | #include <assert.h> | 25 | #include <assert.h> |
| 27 | 26 | ||
| @@ -41,6 +40,7 @@ · 13 unmodified lines | |||
| 41 | 40 | ||
| 42 | #include "audio/chmap_avchannel.h" | 41 | #include "audio/chmap_avchannel.h" |
| 43 | 42 | ||
| 43 | #include "common/common.h" | ||
| 44 | #include "common/msg.h" | 44 | #include "common/msg.h" |
| 45 | #include "common/tags.h" | 45 | #include "common/tags.h" |
| 46 | #include "common/av_common.h" | 46 | #include "common/av_common.h" |
| @@ -19,7 +19,6 @@ · 18 unmodified lines | |||
| 19 | #include <stdbool.h> | 19 | #include <stdbool.h> |
| 20 | #include <stdio.h> | 20 | #include <stdio.h> |
| 21 | #include <stdlib.h> | 21 | #include <stdlib.h> |
| 22 | #include <strings.h> | ||
| 23 | #include <sys/types.h> | 22 | #include <sys/types.h> |
| 24 | #include <sys/stat.h> | 23 | #include <sys/stat.h> |
| 25 | 24 | ||
| @@ -21,7 +21,6 @@ · 20 unmodified lines | |||
| 21 | #include <assert.h> | 21 | #include <assert.h> |
| 22 | #include <dirent.h> | 22 | #include <dirent.h> |
| 23 | #include <string.h> | 23 | #include <string.h> |
| 24 | #include <strings.h> | ||
| 25 | #include <sys/types.h> | 24 | #include <sys/types.h> |
| 26 | #include <sys/stat.h> | 25 | #include <sys/stat.h> |
| 27 | #include <libavutil/common.h> | 26 | #include <libavutil/common.h> |
| @@ -17,7 +17,6 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include <stdlib.h> | 18 | #include <stdlib.h> |
| 19 | #include <string.h> | 19 | #include <string.h> |
| 20 | #include <strings.h> | ||
| 21 | #include <dirent.h> | 20 | #include <dirent.h> |
| 22 | 21 | ||
| 23 | #include <libavutil/common.h> | 22 | #include <libavutil/common.h> |
| @@ -17,7 +17,6 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include <stddef.h> | 18 | #include <stddef.h> |
| 19 | #include <string.h> | 19 | #include <string.h> |
| 20 | #include <strings.h> | ||
| 21 | 20 | ||
| 22 | #include "misc/bstr.h" | 21 | #include "misc/bstr.h" |
| 23 | #include "common/common.h" | 22 | #include "common/common.h" |
| @@ -16,7 +16,6 @@ · 15 unmodified lines | |||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include <string.h> | 18 | #include <string.h> |
| 19 | #include <strings.h> | ||
| 20 | #include <assert.h> | 19 | #include <assert.h> |
| 21 | #include <stdarg.h> | 20 | #include <stdarg.h> |
| 22 | #include <stdint.h> | 21 | #include <stdint.h> |
| @@ -21,11 +21,11 @@ · 20 unmodified lines | |||
| 21 | 21 | ||
| 22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
| 23 | #include <errno.h> | 23 | #include <errno.h> |
| 24 | #include <strings.h> | ||
| 25 | #include <assert.h> | 24 | #include <assert.h> |
| 26 | 25 | ||
| 27 | #include "config.h" | 26 | #include "config.h" |
| 28 | 27 | ||
| 28 | #include "common/common.h" | ||
| 29 | #include "common/msg.h" | 29 | #include "common/msg.h" |
| 30 | 30 | ||
| 31 | #if HAVE_UCHARDET | 31 | #if HAVE_UCHARDET |
| @@ -26,7 +26,6 @@ · 25 unmodified lines | |||
| 26 | #include <stddef.h> | 26 | #include <stddef.h> |
| 27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
| 28 | #include <string.h> | 28 | #include <string.h> |
| 29 | #include <strings.h> | ||
| 30 | 29 | ||
| 31 | static const struct lang { | 30 | static const struct lang { |
| 32 | char match[4]; | 31 | char match[4]; |
| @@ -22,7 +22,6 @@ · 21 unmodified lines | |||
| 22 | #include <stdio.h> | 22 | #include <stdio.h> |
| 23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
| 24 | #include <string.h> | 24 | #include <string.h> |
| 25 | #include <strings.h> | ||
| 26 | 25 | ||
| 27 | #include "common/common.h" | 26 | #include "common/common.h" |
| 28 | #include "common/global.h" | 27 | #include "common/global.h" |
| @@ -23,7 +23,6 @@ · 22 unmodified lines | |||
| 23 | #include <stdio.h> | 23 | #include <stdio.h> |
| 24 | #include <stdlib.h> | 24 | #include <stdlib.h> |
| 25 | #include <string.h> | 25 | #include <string.h> |
| 26 | #include <strings.h> | ||
| 27 | 26 | ||
| 28 | #include "libmpv/client.h" | 27 | #include "libmpv/client.h" |
| 29 | 28 | ||
| @@ -17,7 +17,6 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include <dirent.h> | 18 | #include <dirent.h> |
| 19 | #include <string.h> | 19 | #include <string.h> |
| 20 | #include <strings.h> | ||
| 21 | #include <stdlib.h> | 20 | #include <stdlib.h> |
| 22 | #include <assert.h> | 21 | #include <assert.h> |
| 23 | 22 | ||
| @@ -17,7 +17,6 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include <assert.h> | 18 | #include <assert.h> |
| 19 | #include <string.h> | 19 | #include <string.h> |
| 20 | #include <strings.h> | ||
| 21 | #include <sys/types.h> | 20 | #include <sys/types.h> |
| 22 | #include <sys/stat.h> | 21 | #include <sys/stat.h> |
| 23 | #include <dirent.h> | 22 | #include <dirent.h> |
| @@ -17,7 +17,6 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include <stddef.h> | 18 | #include <stddef.h> |
| 19 | #include <stdbool.h> | 19 | #include <stdbool.h> |
| 20 | #include <strings.h> | ||
| 21 | #include <inttypes.h> | 20 | #include <inttypes.h> |
| 22 | #include <assert.h> | 21 | #include <assert.h> |
| 23 | 22 | ||
| @@ -17,7 +17,6 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include <assert.h> | 18 | #include <assert.h> |
| 19 | #include <string.h> | 19 | #include <string.h> |
| 20 | #include <strings.h> | ||
| 21 | #include <sys/types.h> | 20 | #include <sys/types.h> |
| 22 | #include <sys/stat.h> | 21 | #include <sys/stat.h> |
| 23 | #include <dirent.h> | 22 | #include <dirent.h> |
| @@ -16,7 +16,6 @@ · 15 unmodified lines | |||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include <string.h> | 18 | #include <string.h> |
| 19 | #include <strings.h> | ||
| 20 | #include <sys/types.h> | 19 | #include <sys/types.h> |
| 21 | #include <dirent.h> | 20 | #include <dirent.h> |
| 22 | #include <math.h> | 21 | #include <math.h> |
| @@ -19,7 +19,6 @@ · 18 unmodified lines | |||
| 19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
| 20 | #include <limits.h> | 20 | #include <limits.h> |
| 21 | 21 | ||
| 22 | #include <strings.h> | ||
| 23 | #include <assert.h> | 22 | #include <assert.h> |
| 24 | 23 | ||
| 25 | #include "osdep/io.h" | 24 | #include "osdep/io.h" |
| @@ -27,7 +27,6 @@ · 26 unmodified lines | |||
| 27 | */ | 27 | */ |
| 28 | 28 | ||
| 29 | #include <string.h> | 29 | #include <string.h> |
| 30 | #include <strings.h> | ||
| 31 | #include <assert.h> | 30 | #include <assert.h> |
| 32 | 31 | ||
| 33 | #include <libbluray/bluray.h> | 32 | #include <libbluray/bluray.h> |
| @@ -24,7 +24,6 @@ · 23 unmodified lines | |||
| 24 | #include <stdlib.h> | 24 | #include <stdlib.h> |
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <string.h> | 26 | #include <string.h> |
| 27 | #include <strings.h> | ||
| 28 | #include <errno.h> | 27 | #include <errno.h> |
| 29 | #include <assert.h> | 28 | #include <assert.h> |
| 30 | 29 | ||
| @@ -25,7 +25,6 @@ · 24 unmodified lines | |||
| 25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 26 | #include <stdio.h> | 26 | #include <stdio.h> |
| 27 | #include <string.h> | 27 | #include <string.h> |
| 28 | #include <strings.h> | ||
| 29 | #include <stdbool.h> | 28 | #include <stdbool.h> |
| 30 | #include <math.h> | 29 | #include <math.h> |
| 31 | #include <assert.h> | 30 | #include <assert.h> |