aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 03:22:56 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-01-28 22:14:30 -0600
commit2f6b5b7ef4cd12c801167ca79efec3d69b2927cd (patch)
tree8b502029a321e0cae54ce18f0848bb7a4e18efdb /src
parenteb3635dd1f3f5ff9e0bdf7ec4bf14c78cbc4a015 (diff)
openrc: rc-logger: add missing includes to header
Needed for clang-tidy prep work, as it requires headers to work standalone (which is useful anyway).
Diffstat (limited to 'src')
-rw-r--r--src/openrc/rc-logger.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openrc/rc-logger.h b/src/openrc/rc-logger.h
index 52ca9717..68b32424 100644
--- a/src/openrc/rc-logger.h
+++ b/src/openrc/rc-logger.h
@@ -13,6 +13,9 @@
#ifndef RC_LOGGER_H
#define RC_LOGGER_H
+#include <stdbool.h>
+#include <sys/types.h>
+
extern pid_t rc_logger_pid;
extern int rc_logger_tty;
extern bool rc_in_logger;