diff options
author | Filip Gawin <[email protected]> | 2019-01-09 19:42:40 +0100 |
---|---|---|
committer | Filip Gawin <[email protected]> | 2019-01-09 19:42:40 +0100 |
commit | 4169c6f37db4fa1cc8e2d052b377af479763a930 (patch) | |
tree | aedd04c62d0edb41fe351d0fa4c94e87d00d71f2 /common | |
parent | 8f35f464a1b3ae1b8772a4645941a1fb2fec006e (diff) |
Use c++ headers
Diffstat (limited to 'common')
-rw-r--r-- | common/almalloc.cpp | 4 | ||||
-rw-r--r-- | common/threads.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/almalloc.cpp b/common/almalloc.cpp index da0a1d37..7f13cfba 100644 --- a/common/almalloc.cpp +++ b/common/almalloc.cpp @@ -3,8 +3,8 @@ #include "almalloc.h" -#include <stdlib.h> -#include <string.h> +#include <cstdlib> +#include <cstring> #ifdef HAVE_MALLOC_H #include <malloc.h> #endif diff --git a/common/threads.cpp b/common/threads.cpp index 69989ae4..45f73243 100644 --- a/common/threads.cpp +++ b/common/threads.cpp @@ -86,7 +86,7 @@ bool semaphore::try_wait() noexcept #else -#include <errno.h> +#include <cerrno> #include <pthread.h> #ifdef HAVE_PTHREAD_NP_H #include <pthread_np.h> |