summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-23 11:40:05 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-23 11:40:05 +0000
commit9f853a2642cc28e982ccf1ba45abd36ff0988e11 (patch)
treedbedd16466f31644297161149a78d81bbd274831 /ldso
parenta4da1e43fc111eccf4518a7a8ea48daeae1f4d3a (diff)
forgotten to update gettimeofday here as well
Diffstat (limited to 'ldso')
-rw-r--r--ldso/include/dl-syscall.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h
index 0c0687131..5b85fd230 100644
--- a/ldso/include/dl-syscall.h
+++ b/ldso/include/dl-syscall.h
@@ -120,10 +120,14 @@ static inline _syscall3(int, _dl_readlink, const char *, path, char *, buf,
size_t, bufsiz);
#ifdef __UCLIBC_HAS_SSP__
-#include <sys/time.h>
-#define __NR__dl_gettimeofday __NR_gettimeofday
+# include <sys/time.h>
+# define __NR__dl_gettimeofday __NR_gettimeofday
static inline _syscall2(int, _dl_gettimeofday, struct timeval *, tv,
+# ifdef __USE_BSD
struct timezone *, tz);
+# else
+ void *, tz);
+# endif
#endif