about summary refs log tree commit diff
path: root/sysdeps/posix/gettimeofday.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/gettimeofday.c')
-rw-r--r--sysdeps/posix/gettimeofday.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/posix/gettimeofday.c b/sysdeps/posix/gettimeofday.c
index bda40f48ec..28f75b0bcc 100644
--- a/sysdeps/posix/gettimeofday.c
+++ b/sysdeps/posix/gettimeofday.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1992,1994-1997,2002,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 94, 95, 96, 97, 2002 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
@@ -20,6 +20,12 @@
 #include <time.h>
 #include <sys/time.h>
 
+#ifndef HAVE_GNU_LD
+#define __daylight	daylight
+#define __timezone	timezone
+#define __tzname	tzname
+#endif
+
 #undef __gettimeofday
 
 /* Get the current time of day and timezone information,