[Libreoffice-commits] core.git: include/android

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 29 09:09:12 UTC 2018


 include/android/compatibility.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit f8e989c2384250d30f84651eb03673fb8d8dd096
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Aug 29 11:08:38 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Aug 29 11:08:38 2018 +0200

    fix android build
    
    after
        commit 37f9fdc11c4e95d6a34cb515a454503256a82c63
        replace rtl_allocateMemory with std::malloc
    
    just add cstdlib as in include to the compatibility header, so that
    std::malloc/etc is visible
    
    Change-Id: I3f0569434c41f5427a037a3c8d0ff75389169241

diff --git a/include/android/compatibility.hxx b/include/android/compatibility.hxx
index a60d59cfd653..f8375bfe6916 100644
--- a/include/android/compatibility.hxx
+++ b/include/android/compatibility.hxx
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <string>
 #include <sstream>
+#include <cstdlib>
 
 namespace std
 {


More information about the Libreoffice-commits mailing list