#include <config.h>
-#include <unistd.h>
+#include "support/lyxlib.h"
-#include "lyxlib.h"
+
+namespace lyx {
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
int lyx::support::unlink(std::string const & pathname)
{
return ::unlink(pathname.c_str());
}
+
+
+} // namespace lyx