X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funlinkat.c;h=bae66427c180533151cae0081c486d5ad43058fd;hb=0ac9362d3e63ada72bef1cb93bb20ef5b9d01e44;hp=fd1c69e73049f98d215a99898f20f9717416f6cc;hpb=3d50b6043ac61690f0b163a1618cfd5516238c81;p=gnulib.git diff --git a/lib/unlinkat.c b/lib/unlinkat.c index fd1c69e73..bae66427c 100644 --- a/lib/unlinkat.c +++ b/lib/unlinkat.c @@ -1,4 +1,4 @@ -/* Work around unlinkat bugs on Solaris 9. +/* Work around unlinkat bugs on Solaris 9 and Hurd. Copyright (C) 2009-2011 Free Software Foundation, Inc. @@ -26,6 +26,8 @@ #include #include +#include + #include "dosname.h" #include "openat.h" @@ -34,7 +36,8 @@ # undef unlinkat /* unlinkat without AT_REMOVEDIR does not honor trailing / on Solaris - 9. Solve it in a similar manner to unlink. */ + 9. Solve it in a similar manner to unlink. Hurd has the same + issue. */ int rpl_unlinkat (int fd, char const *name, int flag)