summaryrefslogtreecommitdiffstats
path: root/src/fundamental
diff options
context:
space:
mode:
authorWilliam Roberts <william.c.roberts@intel.com>2023-01-25 20:46:19 +0100
committerLennart Poettering <lennart@poettering.net>2023-01-25 22:26:26 +0100
commit6ae3bd82d04155d27488c85c63f7330cc7e144d3 (patch)
tree995a8427230943fa0fc198030138119785a8ecb3 /src/fundamental
parentMerge pull request #26204 from poettering/journal-header-compoung-init (diff)
downloadsystemd-6ae3bd82d04155d27488c85c63f7330cc7e144d3.tar.xz
systemd-6ae3bd82d04155d27488c85c63f7330cc7e144d3.zip
sha256: header needs stddef
The sha256 header uses size_t which is within stddef, so add it. Signed-off-by: William Roberts <william.c.roberts@intel.com>
Diffstat (limited to 'src/fundamental')
-rw-r--r--src/fundamental/sha256.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fundamental/sha256.h b/src/fundamental/sha256.h
index 4805cc553a..dbb08e35e5 100644
--- a/src/fundamental/sha256.h
+++ b/src/fundamental/sha256.h
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
+#include <stddef.h>
#include <stdint.h>
#define SHA256_DIGEST_SIZE 32