From 4326fb3ef3ddd7c6f9d08ba96add4f4736503ceb Mon Sep 17 00:00:00 2001 From: Kacper Kasper Date: Thu, 20 Sep 2018 19:19:33 +0200 Subject: Fix build on Haiku MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4a21258c2405bd6e5c539ec0206e28a316c6ce13 Reviewed-on: https://gerrit.libreoffice.org/60835 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sal/osl/unx/uunxapi.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sal/osl/unx/uunxapi.cxx') 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: -- cgit