Include unistd.h, for dup2.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Sep 2005 23:01:00 +0000 (23:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Sep 2005 23:01:00 +0000 (23:01 +0000)
commita6c8a8e6d461e63686572d0489a7f71dc554ecd7
tree2d317a7e9439b0aa4db72cfe9d337c02a60a2c5c
parenta49740f33b3657b2f0c7dce7e0d18183f2953011
Include unistd.h, for dup2.
(futimens): Fix typo: HAVE_FUTIMESAT was misspelled in an #if.
(futimens) [! HAVE_FUTIMESAT]: If !file, set errno before returning -1.
lib/utimens.c