diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | ingen/Clock.hpp | 2 | ||||
-rw-r--r-- | src/ingen/ingen.cpp | 2 | ||||
-rw-r--r-- | src/server/util.hpp | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy index ca52cb1a..7c1d49db 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -2,7 +2,6 @@ Checks: > *, -*avoid-c-arrays, -*braces-around-statements, - -*deprecated-headers, -*magic-numbers, -*move-const-arg, -*narrowing-conversions, diff --git a/ingen/Clock.hpp b/ingen/Clock.hpp index 5345d7a6..5debb5e4 100644 --- a/ingen/Clock.hpp +++ b/ingen/Clock.hpp @@ -21,8 +21,8 @@ # include <mach/mach.h> # include <mach/mach_time.h> #else +# include <ctime> # include <sys/time.h> -# include <time.h> #endif #include <cstdint> diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index 8c072b87..3a1ebc8f 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -32,12 +32,12 @@ #endif #include <chrono> +#include <csignal> #include <cstdint> #include <cstdlib> #include <iostream> #include <memory> #include <mutex> -#include <signal.h> #include <string> #include <thread> diff --git a/src/server/util.hpp b/src/server/util.hpp index 59cceda4..dd57bfc3 100644 --- a/src/server/util.hpp +++ b/src/server/util.hpp @@ -26,8 +26,8 @@ #include <xmmintrin.h> #endif +#include <cfenv> #include <cstdlib> -#include <fenv.h> #ifdef __clang__ # define REALTIME __attribute__((annotate("realtime"))) |