From aac9c35c7405859a38f634ee95b8aba5f62db84d Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Tue, 24 Nov 2020 22:57:02 +0300 Subject: Fix --disable-pch build on Windows Restore inclusion of , added in 63f7efe613f4f7436eddd90933c1916d2e689648 to fix exactly the same problem that reappeared now after removing it in commit fe88ffb661053f8fff9bd77affdf4de820c43ca8. This partially reverts fe88ffb661053f8fff9bd77affdf4de820c43ca8, making the inclusion conditional. Change-Id: Iab6893549377e1b8f2f96150b09b7294c9476fa2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106555 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sw/source/core/doc/docfld.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sw') diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx index ad21d076a3ac..68b6df983e4a 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -24,6 +24,9 @@ #include #include #include +#ifndef UNX +#include +#endif #include #include #include -- cgit