diff options
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/Logging.cpp | 2 | ||||
-rw-r--r-- | lib/common/Timer.cpp | 1 | ||||
-rw-r--r-- | lib/common/WaitForEvent.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/lib/common/Logging.cpp b/lib/common/Logging.cpp index 802f6a3b..d16b1514 100644 --- a/lib/common/Logging.cpp +++ b/lib/common/Logging.cpp @@ -10,7 +10,6 @@ #include "Box.h" #include <errno.h> -#include <string.h> #include <time.h> #ifdef HAVE_SYSLOG_H @@ -20,6 +19,7 @@ #include <unistd.h> #endif +#include <cstring> #include <iomanip> #include "BoxTime.h" diff --git a/lib/common/Timer.cpp b/lib/common/Timer.cpp index cac86512..01afa91b 100644 --- a/lib/common/Timer.cpp +++ b/lib/common/Timer.cpp @@ -15,6 +15,7 @@ #include "Box.h" #include <signal.h> +#include <cstring> #include "Timer.h" #include "Logging.h" diff --git a/lib/common/WaitForEvent.h b/lib/common/WaitForEvent.h index 9febf5d4..045d6d67 100644 --- a/lib/common/WaitForEvent.h +++ b/lib/common/WaitForEvent.h @@ -10,7 +10,7 @@ #ifndef WAITFOREVENT__H #define WAITFOREVENT__H -#include <stdlib.h> +#include <cstdlib> #ifdef HAVE_KQUEUE #include <sys/event.h> |