summaryrefslogtreecommitdiffabout
path: root/lib/st-decode.cc
Side-by-side diff
Diffstat (limited to 'lib/st-decode.cc') (more/less context) (show whitespace changes)
-rw-r--r--lib/st-decode.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/st-decode.cc b/lib/st-decode.cc
index b354250..81cbb8f 100644
--- a/lib/st-decode.cc
+++ b/lib/st-decode.cc
@@ -1,14 +1,15 @@
-#include <stdlib.h>
-#include <string.h>
+#include <stdint.h>
+#include <cstdlib>
+#include <cstring>
#include <stdexcept>
#include <numeric>
#include <napkin/exception.h>
#include <napkin/st/decode.h>
namespace napkin {
namespace sleeptracker {
using std::invalid_argument;
using std::runtime_error;
struct st_time_t {
uint8_t hour;