summaryrefslogtreecommitdiff
path: root/src/fundamental/macro-fundamental.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-17 14:15:44 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-17 16:33:43 +0200
commitc3e4cbe0c52ce6d0d986e6b650ca051f6eeffc68 (patch)
tree46269029f446312a62166b043d30b2c50e05ff44 /src/fundamental/macro-fundamental.h
parent68df2df66857b597a2adbb29d27d709a5d59a5a3 (diff)
downloadsystemd-c3e4cbe0c52ce6d0d986e6b650ca051f6eeffc68.tar.gz
basic: make macro-fundamental.h self-contained
When !SD_BOOT, it used size_t without including the appropriate header.
Diffstat (limited to 'src/fundamental/macro-fundamental.h')
-rw-r--r--src/fundamental/macro-fundamental.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fundamental/macro-fundamental.h b/src/fundamental/macro-fundamental.h
index 1c198f6ad9..0e3e22d435 100644
--- a/src/fundamental/macro-fundamental.h
+++ b/src/fundamental/macro-fundamental.h
@@ -2,7 +2,8 @@
#pragma once
#ifndef SD_BOOT
-#include <assert.h>
+# include <assert.h>
+# include <stddef.h>
#endif
#include <limits.h>