summaryrefslogtreecommitdiffstats
path: root/src/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.h')
-rw-r--r--src/plugin.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugin.h b/src/plugin.h
index c6ed7b1..1325f03 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -1,10 +1,11 @@
#ifndef _RCC_PLUGIN_H
#define _RCC_PLUGIN_H
-#include "enca.h"
+#include "../config.h"
-#ifdef RCC_ENCA_DYNAMIC
+
+#ifdef HAVE_DLOPEN
# define RCC_PLUGINS
-#endif /* RCC_ENCA_DYNAMIC */
+#endif /* HAVE_DLOPEN */
typedef void *rcc_library_handle;