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).
This commit is contained in:
Sam James 2023-01-29 03:24:04 +00:00 committed by William Hubbs
parent 7d63049adb
commit e8a76ad6e6

View File

@ -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;