summaryrefslogtreecommitdiffstats
path: root/store/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-04-30 13:05:28 +0300
committerTor Lillqvist <tml@collabora.com>2020-05-01 15:33:56 +0200
commitd4a24b61ec4d35aa41f49ffba85cd32154c25dbd (patch)
tree84a73d74996f8f5e5eaccac9c2e804a9a76898c1 /store/source
parenttdf#40534 correctly match page with memory slab (diff)
downloadcore-d4a24b61ec4d35aa41f49ffba85cd32154c25dbd.tar.gz
core-d4a24b61ec4d35aa41f49ffba85cd32154c25dbd.zip
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/source')
-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 20740b43804a..bb9b800a869a 100644
--- a/store/source/lockbyte.cxx
+++ b/store/source/lockbyte.cxx
@@ -30,6 +30,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 accfdf7d73f9..08a9b43e124b 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -34,6 +34,7 @@
#include <store/types.h>
+#include <cstdlib>
#include <memory>
#include <stddef.h>
#include <string.h>