]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing: add missing header inclusions
authorLennart Poettering <lennart@poettering.net>
Tue, 2 Nov 2021 17:15:32 +0000 (18:15 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 3 Nov 2021 03:41:01 +0000 (12:41 +0900)
These headers should work without any manual header inclusion.

src/basic/missing_keyctl.h
src/basic/missing_syscall.h

index 5680483bb408fb2f0ab2415975287abd318d62f0..081003a65a9a28eb63a70f00ffb62bc1be02ec9a 100644 (file)
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
+#include <inttypes.h>
 #include <linux/keyctl.h>
 
 #ifndef KEYCTL_JOIN_SESSION_KEYRING
index 2f67adaec3ff009829d0d294aadeedecfc0e3266..3da30e6f0e53784c92d991b59d3d19d7e92ed575 100644 (file)
@@ -20,6 +20,7 @@
 #include <asm/sgidefs.h>
 #endif
 
+#include "macro.h"
 #include "missing_keyctl.h"
 #include "missing_stat.h"
 #include "missing_syscall_def.h"