diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-17 14:15:44 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-17 16:33:43 +0200 |
commit | c3e4cbe0c52ce6d0d986e6b650ca051f6eeffc68 (patch) | |
tree | 46269029f446312a62166b043d30b2c50e05ff44 /src/fundamental/macro-fundamental.h | |
parent | 68df2df66857b597a2adbb29d27d709a5d59a5a3 (diff) | |
download | systemd-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.h | 3 |
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> |