OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4da1e4
)
forgotten to update gettimeofday here as well
author
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 23 Mar 2006 11:40:05 +0000
(11:40 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 23 Mar 2006 11:40:05 +0000
(11:40 -0000)
ldso/include/dl-syscall.h
patch
|
blob
|
history
diff --git
a/ldso/include/dl-syscall.h
b/ldso/include/dl-syscall.h
index
0c06871
..
5b85fd2
100644
(file)
--- 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