aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/directory.c')
-rw-r--r--src/plugins/fs/directory.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/fs/directory.c b/src/plugins/fs/directory.c
index 1bf2db5d..810fb52e 100644
--- a/src/plugins/fs/directory.c
+++ b/src/plugins/fs/directory.c
@@ -114,7 +114,10 @@ void on_open_menu_activate_fs(GtkWidget * dummy1,
114 } 114 }
115 fd = disk_file_open(NULL, 115 fd = disk_file_open(NULL,
116 dn, 116 dn,
117 O_LARGEFILE | O_RDONLY); 117#ifdef O_LARGEFILE
118 O_LARGEFILE |
119#endif
120 O_RDONLY);
118 if (fd == -1) { 121 if (fd == -1) {
119 addLogEntry(_("Error opening file `%s'."), 122 addLogEntry(_("Error opening file `%s'."),
120 dn); 123 dn);