summaryrefslogtreecommitdiffstats
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-02 18:15:32 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-11-03 04:41:01 +0100
commit4768cc450d6dac9737c6f1e7573a3a47b4b6b937 (patch)
tree6166cdd231b35967c6acf85f28578b10edaf3051 /src/basic
parenttest-keymap-util: always use kbd-model-map we ship (diff)
downloadsystemd-4768cc450d6dac9737c6f1e7573a3a47b4b6b937.tar.xz
systemd-4768cc450d6dac9737c6f1e7573a3a47b4b6b937.zip
missing: add missing header inclusions
These headers should work without any manual header inclusion.
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/missing_keyctl.h1
-rw-r--r--src/basic/missing_syscall.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/missing_keyctl.h b/src/basic/missing_keyctl.h
index 5680483bb4..081003a65a 100644
--- a/src/basic/missing_keyctl.h
+++ b/src/basic/missing_keyctl.h
@@ -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
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h
index 2f67adaec3..3da30e6f0e 100644
--- a/src/basic/missing_syscall.h
+++ b/src/basic/missing_syscall.h
@@ -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"