Fix missing declaration
authorAndreas Schwab <schwab@redhat.com>
Tue, 6 Sep 2011 09:12:11 +0000 (11:12 +0200)
committerAndreas Schwab <schwab@redhat.com>
Tue, 6 Sep 2011 09:20:51 +0000 (11:20 +0200)
ChangeLog
sysdeps/unix/sysv/linux/x86_64/gettimeofday.c

index 0176dcf..fd78d99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-06  Andreas Schwab  <schwab@redhat.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
+       <errno.h>.
+
 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
 
        * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
index 56171bc..3aba81c 100644 (file)
@@ -38,6 +38,7 @@ __asm (".type __gettimeofday, %gnu_indirect_function");
 #else
 # include <sys/time.h>
 # include <sysdep.h>
+# include <errno.h>
 
 int
 __gettimeofday (struct timeval *tv, struct timezone *tz)