mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
Fix problem building external plugins
The file plugin.h is installed to $prefix/include and used by external plugins. Therefore it must not include, or depend on, features set by the configure script in config.h Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -24,16 +24,11 @@
|
||||
#ifndef FINIT_PLUGIN_H_
|
||||
#define FINIT_PLUGIN_H_
|
||||
|
||||
#include <config.h>
|
||||
#include <uev/uev.h>
|
||||
#include <lite/queue.h> /* BSD sys/queue.h API */
|
||||
|
||||
#include "svc.h"
|
||||
|
||||
#ifndef PLUGIN_PATH /* Fallback for --enable-static builds */
|
||||
#define PLUGIN_PATH "/dev/null"
|
||||
#endif
|
||||
|
||||
#define PLUGIN_DEP_MAX 10
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user