From 659ff9962e9db8e3df6d033231a47dace75d1ae4 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 13 Sep 2016 21:41:11 +0200 Subject: [PATCH] Fallback (unused) PLUGIN_PATH for --enable-static builds Signed-off-by: Joachim Nilsson --- plugin.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin.h b/plugin.h index 21bd2609..a530275e 100644 --- a/plugin.h +++ b/plugin.h @@ -29,6 +29,10 @@ #include "svc.h" +#ifndef PLUGIN_PATH /* Fallback for --enable-static builds */ +#define PLUGIN_PATH "/dev/null" +#endif + #define PLUGIN_DEP_MAX 10 #define PLUGIN_IO_READ UEV_READ #define PLUGIN_IO_WRITE UEV_WRITE