about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/clock_settime.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-02-17 17:46:56 +0100
committerAurelien Jarno <aurelien@aurel32.net>2012-02-17 17:46:56 +0100
commit8dee4833c5b6d3c2ad506b5c7fdc548504386f96 (patch)
treed23347d8950ff9b16c06c2898e4a211d2ce82239 /sysdeps/unix/sysv/linux/clock_settime.c
parent9078ce930afda8bbcba6fe860a13ca62abcf2742 (diff)
downloadglibc-8dee4833c5b6d3c2ad506b5c7fdc548504386f96.tar.gz
glibc-8dee4833c5b6d3c2ad506b5c7fdc548504386f96.tar.xz
glibc-8dee4833c5b6d3c2ad506b5c7fdc548504386f96.zip
Include <time.h> in clock_settime.c.
Diffstat (limited to 'sysdeps/unix/sysv/linux/clock_settime.c')
-rw-r--r--sysdeps/unix/sysv/linux/clock_settime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/clock_settime.c b/sysdeps/unix/sysv/linux/clock_settime.c
index 5656db90f3..8cf3209803 100644
--- a/sysdeps/unix/sysv/linux/clock_settime.c
+++ b/sysdeps/unix/sysv/linux/clock_settime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003, 2004, 2006, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004, 2006, 2010, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,7 @@
 
 #include <errno.h>
 #include <sysdep.h>
+#include <time.h>
 
 #include "kernel-posix-cpu-timers.h"
 #include <kernel-features.h>