summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRichard PALO <richard@NetBSD.org>2014-11-09 18:15:45 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-11 19:44:57 +0100
commit88a40e70fe921680ed303b8ab69ca866ae67078e (patch)
tree23a50f8f84de5711fb91fbd9d2cc2ab28d9b861b /shell
parent457105c7d9ede7a4d73d69d1c87306e88d57c0ac (diff)
O_RDWR and O_CREAT are defined in fcntl.h
Change-Id: I568ee2c3f103777720f6c39340a5915b10aeebb4 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/sysshell/recently_used_file.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file.cxx b/shell/source/unix/sysshell/recently_used_file.cxx
index 2189d0bce12e..08f96a389dbc 100644
--- a/shell/source/unix/sysshell/recently_used_file.cxx
+++ b/shell/source/unix/sysshell/recently_used_file.cxx
@@ -27,7 +27,7 @@
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
-
+#include <fcntl.h>
#include <unistd.h>
const OUString RECENTLY_USED_FILE_NAME(".recently-used");