summaryrefslogtreecommitdiffstats
path: root/gettime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gettime.cc')
-rw-r--r--gettime.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gettime.cc b/gettime.cc
index b6d95a4..e7b37b6 100644
--- a/gettime.cc
+++ b/gettime.cc
@@ -36,8 +36,9 @@ int gettime(struct timespec *tp, bool needRealTime)
#else
#include <sys/time.h>
+#include <cstddef>
-int gettime(struct timespec *tp, bool needRealTime)
+int gettime(struct timespec *tp, bool /* needRealTime */)
{
struct timeval tv;