[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - configure.ac

Tomáš Chvátal tchvatal at suse.com
Tue Sep 15 04:14:46 PDT 2015


 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit eea951d8de4ababb6e81d28221501e7bc3060b57
Author: Tomáš Chvátal <tchvatal at suse.com>
Date:   Tue Sep 15 11:43:45 2015 +0200

    KDE4Filedialog check should include cstdlib
    
    Otherwise this would needlessly fail on some compilers.
    
    Change-Id: I4e46e9e452de0703b6556cd55e4606b02be5c41c
    Reviewed-on: https://gerrit.libreoffice.org/18584
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/configure.ac b/configure.ac
index c6f7b8d..afd48d64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11318,6 +11318,7 @@ int main(int argc, char **argv) {
 
             AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #define SAL_OVERRIDE
+#include <cstdlib>
 #include "tst_exclude_socket_notifiers.moc"
 
 int main(int argc, char *argv[])
@@ -11351,6 +11352,7 @@ int main(int argc, char *argv[])
 
             AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #define SAL_OVERRIDE
+#include <cstdlib>
 #include "tst_exclude_posted_events.moc"
 
 int main(int argc, char *argv[])


More information about the Libreoffice-commits mailing list