diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-03-12 16:23:25 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-03-12 18:56:51 -0700 |
commit | 69a51e12c98af064012bc37716cabd77366d6a83 (patch) | |
tree | f23cdca2828cd9b2a1761d579114ef1b594a8356 /src/system | |
parent | 4b57b7f5a5e9de1a04f4db47025b20ad007c102c (diff) |
replace signal.h with csignal.h
The former was deprecated with C++14. The standard says they are the same:
The contents of the header<csignal>are the same as the C standard library
header<signal.h>.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/system')
-rw-r--r-- | src/system/FileDescriptor.hxx | 2 | ||||
-rw-r--r-- | src/system/SignalFD.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/system/FileDescriptor.hxx b/src/system/FileDescriptor.hxx index 5fabd17dd..3faec2ce4 100644 --- a/src/system/FileDescriptor.hxx +++ b/src/system/FileDescriptor.hxx @@ -38,7 +38,7 @@ #include <sys/types.h> #ifdef __linux__ -#include <signal.h> +#include <csignal> #endif #ifdef _WIN32 diff --git a/src/system/SignalFD.hxx b/src/system/SignalFD.hxx index 6c6347283..6d45d060f 100644 --- a/src/system/SignalFD.hxx +++ b/src/system/SignalFD.hxx @@ -32,7 +32,7 @@ #include "UniqueFileDescriptor.hxx" -#include <signal.h> +#include <csignal> /** * A class that wraps signalfd(). |