summaryrefslogtreecommitdiff
path: root/sal/osl/unx/uunxapi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/uunxapi.hxx')
-rw-r--r--sal/osl/unx/uunxapi.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sal/osl/unx/uunxapi.hxx b/sal/osl/unx/uunxapi.hxx
index f182b755e53b..b5c0c9ed9d41 100644
--- a/sal/osl/unx/uunxapi.hxx
+++ b/sal/osl/unx/uunxapi.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_SAL_OSL_UNX_UUNXAPI_HXX
#define INCLUDED_SAL_OSL_UNX_UUNXAPI_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
@@ -42,7 +46,7 @@ int ftruncate_with_name(int fd, sal_uInt64 uSize, rtl_String* path);
namespace osl
{
- OString OUStringToOString(const OUString& s);
+ OString OUStringToOString(std::u16string_view s);
int access(const OString& strPath, int mode);