]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
basic: make macro-fundamental.h self-contained
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 May 2022 12:15:44 +0000 (14:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 May 2022 14:33:43 +0000 (16:33 +0200)
When !SD_BOOT, it used size_t without including the appropriate header.

src/fundamental/macro-fundamental.h

index 1c198f6ad9aa4f550aa1428ceb614dd04867a302..0e3e22d43525a8f52af8e2eddd454163fee2cc6a 100644 (file)
@@ -2,7 +2,8 @@
 #pragma once
 
 #ifndef SD_BOOT
-#include <assert.h>
+#  include <assert.h>
+#  include <stddef.h>
 #endif
 
 #include <limits.h>