X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funlinkat.c;h=bae66427c180533151cae0081c486d5ad43058fd;hb=79a3d2d10ebf29fb4e73716ae1b72fc5d20486a5;hp=9f1894ac2636f0fa5c46bfe6be573b3bf7888f39;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/lib/unlinkat.c b/lib/unlinkat.c index 9f1894ac2..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,9 @@ #include #include +#include + +#include "dosname.h" #include "openat.h" #if HAVE_UNLINKAT @@ -33,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)