summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/config/usrpref.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx
index 4c375f0c513b..d4c1849820d5 100644
--- a/sw/source/uibase/config/usrpref.cxx
+++ b/sw/source/uibase/config/usrpref.cxx
@@ -30,6 +30,10 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <unotools/localedatawrapper.hxx>
+#if defined(__GNUC__) && !defined(__clang__)
+#include <cstring>
+#endif
+
using namespace utl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;