Skip to content

Commit

Permalink
src: shared: plugin: add missing includes to header
Browse files Browse the repository at this point in the history
Needed for clang-tidy prep work, as it requires headers to work standalone
(which is useful anyway).
  • Loading branch information
thesamesam authored and williamh committed Jan 29, 2023
1 parent 7d63049 commit e8a76ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/shared/plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8a76ad

Please sign in to comment.