about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/timespec_get.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>2015-04-17 14:28:03 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-06-01 22:25:02 -0300
commit1395ef210722633a1f10a5e6acb29da13933d0c6 (patch)
treeb94140cbf65b13b5d9964f1c3eab638e8090c192 /sysdeps/unix/sysv/linux/timespec_get.c
parent44c924997806580c2e90d350275e270a3d365186 (diff)
downloadglibc-1395ef210722633a1f10a5e6acb29da13933d0c6.tar.gz
glibc-1395ef210722633a1f10a5e6acb29da13933d0c6.tar.xz
glibc-1395ef210722633a1f10a5e6acb29da13933d0c6.zip
x86: clock_gettime and timespec_get vDSO cleanup
This patch removes the x86 specific timespec_get and clock_gettime
implementation to use generic HAVE_CLOCK_GETTIME_VSYSCALL way.
Diffstat (limited to 'sysdeps/unix/sysv/linux/timespec_get.c')
-rw-r--r--sysdeps/unix/sysv/linux/timespec_get.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/timespec_get.c b/sysdeps/unix/sysv/linux/timespec_get.c
index 0e5f513f3d..b42a44ff12 100644
--- a/sysdeps/unix/sysv/linux/timespec_get.c
+++ b/sysdeps/unix/sysv/linux/timespec_get.c
@@ -17,6 +17,7 @@
 
 #include <time.h>
 #include <sysdep.h>
+#include <errno.h>
 
 #ifdef HAVE_CLOCK_GETTIME_VSYSCALL
 # define HAVE_VSYSCALL