]> git.lyx.org Git - features.git/commitdiff
src/support/unlink.C: Fix an #include error
authorBo Peng <bpeng@lyx.org>
Fri, 5 Jan 2007 22:16:04 +0000 (22:16 +0000)
committerBo Peng <bpeng@lyx.org>
Fri, 5 Jan 2007 22:16:04 +0000 (22:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16541 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/unlink.C

index 5f523498a4a79c64926f62617953833c7ca1fe58..a8ebc138d8b8ccb64b27ccee77000f3796dceef8 100644 (file)
 #include "support/lyxlib.h"
 #include "support/filename.h"
 
-
-namespace lyx {
-namespace support {
-
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
 
+namespace lyx {
+namespace support {
+
 int unlink(FileName const & pathname)
 {
        return ::unlink(pathname.toFilesystemEncoding().c_str());