aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 03:24:04 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-01-28 22:14:30 -0600
commite8a76ad6e671aefd358463722c0ef77a5bd5c320 (patch)
tree0e58e3bf8735e5f5669a444bef9576a8fa983ca7 /src/shared
parent7d63049adb390815693bed0a97af9d669d7470aa (diff)
src: shared: plugin: 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/shared')
-rw-r--r--src/shared/plugin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/plugin.h b/src/shared/plugin.h
index 86ec1bfe..3e458e23 100644
--- a/src/shared/plugin.h
+++ b/src/shared/plugin.h
@@ -18,6 +18,11 @@
#ifndef __LIBRC_PLUGIN_H__
#define __LIBRC_PLUGIN_H__
+#include <stdbool.h>
+#include <sys/types.h>
+
+#include "rc.h"
+
/* A simple flag to say if we're in a plugin process or not.
* Mainly used in atexit code. */
extern bool rc_in_plugin;