summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-04-30 13:05:28 +0300
committerMichael Meeks <michael.meeks@collabora.com>2020-05-16 19:41:16 +0100
commitb94a77b4efeda9802b21a3fb86e03b168f251a66 (patch)
tree87ef92b97f06900382ff38b15a09c8e221012e70 /store
parent7b1903ce4a1818f71943850cd76ba88b7d710ace (diff)
Include <cstdlib> for std::malloc() and std::free()
Change-Id: Ice6964858f39709dfd7e55ed8d7fe2d71da6acad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93205 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'store')
-rw-r--r--store/source/lockbyte.cxx1
-rw-r--r--store/source/storbase.hxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx
index dfc7ad920a99..42662b8a4633 100644
--- a/store/source/lockbyte.cxx
+++ b/store/source/lockbyte.cxx
@@ -29,6 +29,7 @@
#include "object.hxx"
#include "storbase.hxx"
+#include <cstdlib>
#include <memory>
#include <string.h>
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index 0c21acbb3ad3..0c9f9c77d974 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -33,6 +33,7 @@
#include <store/types.h>
+#include <cstdlib>
#include <memory>
#include <utility>