aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-10 19:13:09 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-10 19:13:09 +0000
commit5fa7d37e377abb89e317f4ebd47ebea69ebe0fd9 (patch)
tree2e782fc004f10f9191800efe801922ce556f49db /epan/epan.c
parent25ce6c262edc7348ec1057f929630e6862eff47d (diff)
Fix epan building with undefined HAVE_PLUGINS
+ guard prototypes with HAVE_PLUGINS in .h files to get errors before linking. svn path=/trunk/; revision=53909
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
index b52244c921..71191ecef2 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -85,8 +85,10 @@ epan_get_version(void) {
void
epan_register_plugin_types(void)
{
+#ifdef HAVE_PLUGINS
register_dissector_plugin_type();
register_tap_plugin_type();
+#endif
}
void