Skip to content

Commit bc16144

Browse files
remove more pointless header checks
1 parent b0e56e9 commit bc16144

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

frontend/main.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
#define __unix__
3838
#endif
3939

40-
#ifdef HAVE_SYS_TIME_H
41-
#include <sys/time.h>
42-
#endif
43-
4440
#ifdef __unix__
4541
#include <sys/resource.h>
4642
#include <unistd.h>

frontend/mp4write.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,9 @@
2323

2424
#include <stdlib.h>
2525
#include <stdio.h>
26-
#ifndef WORDS_BIGENDIAN
27-
//#include <byteswap.h>
28-
#endif
2926
#include <string.h>
30-
#ifdef HAVE_SYS_TIME_H
31-
#include <sys/time.h>
32-
#endif
3327
#include <time.h>
28+
3429
#ifdef _WIN32
3530
#include <io.h>
3631
#define access _access

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config_h.set_quoted('PACKAGE', meson.project_name())
1515
config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
1616

1717
cc = meson.get_compiler('c')
18-
foreach h: ['getopt.h', 'immintrin.h', 'sys/time.h']
18+
foreach h: ['getopt.h', 'immintrin.h']
1919
config_h.set('HAVE_' + h.underscorify().to_upper(), cc.has_header(h))
2020
endforeach
2121

0 commit comments

Comments
 (0)