Annoying changes to work on Sun boxes.
This commit is contained in:
parent
50e628cb8f
commit
1c253ceb58
19 changed files with 95 additions and 54 deletions
|
|
@ -4,6 +4,14 @@
|
|||
|
||||
#include <sys/time.h>
|
||||
|
||||
#if !defined(_HAVEFUTIMES) && defined(_HAVEFUTIMESAT)
|
||||
static int
|
||||
futimes(int fd, struct timeval *tv)
|
||||
{
|
||||
return futimesat(fd, 0, tv);
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
dirfwstat(int fd, Dir *dir)
|
||||
{
|
||||
|
|
@ -19,3 +27,4 @@ dirfwstat(int fd, Dir *dir)
|
|||
tv[1].tv_usec = 0;
|
||||
return futimes(fd, tv);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue