[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - connectivity/source
Michael Stahl
mstahl at redhat.com
Mon Nov 21 23:36:11 UTC 2016
connectivity/source/drivers/odbc/OTools.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ba2a23afd628d3d183ae6c77569f4ec54490d696
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Nov 21 12:05:05 2016 +0100
connectivity, sc: add missing #include <osl/endian.h>
These files use the macro OSL_BIGENDIAN but did not include the header
that defines it.
Found via:
git grep -l OSL_.*ENDIAN | grep -v -E '\.h(xx)?$' | while read f; do case $f in *cxx) grep -L endian\\.h workdir/Dep/CxxObject/${f%.cxx}.d ;; *) grep -L endian\\.h workdir/Dep/CObject/${f%.c}.d ;; esac ; done
(cherry picked from commit e2f08f9def0869460ad38a1c2adb450778290f6e)
Change-Id: Iaf589a8235dbc8062840d2716ab843e64b5cb7a2
Reviewed-on: https://gerrit.libreoffice.org/31039
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Eike Rathke <erack at redhat.com>
diff --git a/connectivity/source/drivers/odbc/OTools.cxx b/connectivity/source/drivers/odbc/OTools.cxx
index 71109fb..8a4760f 100644
--- a/connectivity/source/drivers/odbc/OTools.cxx
+++ b/connectivity/source/drivers/odbc/OTools.cxx
@@ -21,6 +21,7 @@
#include "odbc/OFunctions.hxx"
#include <com/sun/star/sdbc/DataType.hpp>
#include <osl/diagnose.h>
+#include <osl/endian.h>
#include "odbc/OConnection.hxx"
#include <rtl/ustrbuf.hxx>
More information about the Libreoffice-commits
mailing list