close: use gl_REPLACE_FCLOSE only if defined
[gnulib.git] / lib / unlinkat.c
index 308788f..fd1c69e 100644 (file)
@@ -1,6 +1,6 @@
 /* Work around unlinkat bugs on Solaris 9.
 
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -26,6 +26,7 @@
 #include <string.h>
 #include <sys/stat.h>
 
+#include "dosname.h"
 #include "openat.h"
 
 #if HAVE_UNLINKAT