[Libreoffice-commits] core.git: 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 31c69056efd22df2634a545592a6a4d4c5c8b89f
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/18585
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/configure.ac b/configure.ac
index dda7e15..7e81150 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11228,6 +11228,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[])
@@ -11261,6 +11262,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