aboutsummaryrefslogtreecommitdiffstats
path: root/common/threads.cpp
diff options
context:
space:
mode:
authorFilip Gawin <[email protected]>2019-01-09 19:42:40 +0100
committerFilip Gawin <[email protected]>2019-01-09 19:42:40 +0100
commit4169c6f37db4fa1cc8e2d052b377af479763a930 (patch)
treeaedd04c62d0edb41fe351d0fa4c94e87d00d71f2 /common/threads.cpp
parent8f35f464a1b3ae1b8772a4645941a1fb2fec006e (diff)
Use c++ headers
Diffstat (limited to 'common/threads.cpp')
-rw-r--r--common/threads.cpp2
1 files changed, 1 insertions, 1 deletions
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>