Tweaks to build properly on Linux.

This commit is contained in:
rsc 2003-11-24 00:43:41 +00:00
parent 478ee9636f
commit d2c4ee9e48
9 changed files with 70 additions and 26 deletions

View file

@ -10,6 +10,13 @@ futimes(int fd, struct timeval *tv)
{
return futimesat(fd, 0, tv);
}
#elif !defined(_HAVEFUTIMES)
static int
futimes(int fd, struct timeval *tv)
{
werrstr("futimes not available");
return -1;
}
#endif
int