summaryrefslogtreecommitdiff
path: root/sal/osl/unx/uunxapi.cxx
diff options
context:
space:
mode:
authorKacper Kasper <kacperkasper@gmail.com>2018-09-20 19:19:33 +0200
committerCaolán McNamara <caolanm@redhat.com>2018-11-01 13:44:47 +0100
commit4326fb3ef3ddd7c6f9d08ba96add4f4736503ceb (patch)
tree5f4da9e38e2fc5a42836e37064e0608bf15d1f96 /sal/osl/unx/uunxapi.cxx
parentaabf08487fb205f82ec0b5e642236b78134ce5d5 (diff)
Fix build on Haiku
Change-Id: I4a21258c2405bd6e5c539ec0206e28a316c6ce13 Reviewed-on: https://gerrit.libreoffice.org/60835 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal/osl/unx/uunxapi.cxx')
-rw-r--r--sal/osl/unx/uunxapi.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/unx/uunxapi.cxx b/sal/osl/unx/uunxapi.cxx
index ea48309c3b94..c3cccabb4d9e 100644
--- a/sal/osl/unx/uunxapi.cxx
+++ b/sal/osl/unx/uunxapi.cxx
@@ -445,8 +445,10 @@ std::string UnixErrnoString(int nErrno)
return "EACCES";
case EFAULT:
return "EFAULT";
+#ifdef ENOTBLK
case ENOTBLK:
return "ENOTBLK";
+#endif
case EBUSY:
return "EBUSY";
case EEXIST: