summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-22 14:23:46 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-22 17:21:06 +0200
commitca7f30506cb05f64d4688faba366a12c86bb36dc (patch)
tree830fe890d2c38c233920dc37927a3ababe4dc2da
parentb06edd5a07f18b0999adc0084b8133eb6481f867 (diff)
Need <sys/stat.h> when HAVE_FEATURE_MACOSX_SANDBOX
Change-Id: I401679ae6cbc8f924126589cfb9f22fb244e7da2
-rw-r--r--ucb/source/ucp/file/filtask.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index 2f2a75802b13..b64df364a9b6 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -17,8 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
+
#include <sal/config.h>
+#if HAVE_FEATURE_MACOSX_SANDBOX
+#include <sys/stat.h>
+#endif
+
#include <com/sun/star/beans/IllegalTypeException.hpp>
#include <com/sun/star/beans/NotRemoveableException.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
@@ -35,7 +41,6 @@
#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/OpenCommandArgument.hpp>
#include <com/sun/star/ucb/Store.hpp>
-#include <config_features.h>
#include <rtl/uri.hxx>
#include "filtask.hxx"