summaryrefslogtreecommitdiff
path: root/src/linux/settimeofday.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/settimeofday.c')
-rw-r--r--src/linux/settimeofday.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux/settimeofday.c b/src/linux/settimeofday.c
index d741f66b..15c18c63 100644
--- a/src/linux/settimeofday.c
+++ b/src/linux/settimeofday.c
@@ -1,7 +1,8 @@
+#define _BSD_SOURCE
#include <sys/time.h>
#include "syscall.h"
-int settimeofday(const struct timeval *tv, void *tz)
+int settimeofday(const struct timeval *tv, const struct timezone *tz)
{
return syscall(SYS_settimeofday, tv, 0);
}