]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fundamental/string-util-fundamental: include appropriate headers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 May 2022 12:17:03 +0000 (14:17 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 May 2022 14:33:43 +0000 (16:33 +0200)
We were using CMP() without pulling the definition in directly.

src/fundamental/string-util-fundamental.c

index c9b1b89b3e99ecd790264b25e5f91eeb1e16bb36..0d8a820bacb419cc0cecec7ef96c43d913c4a0a7 100644 (file)
@@ -1,10 +1,10 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
 #ifndef SD_BOOT
-#include <ctype.h>
-
-#include "macro.h"
+#  include <ctype.h>
 #endif
+
+#include "macro-fundamental.h"
 #include "string-util-fundamental.h"
 
 sd_char *startswith(const sd_char *s, const sd_char *prefix) {