diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-12-10 19:13:09 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-12-10 19:13:09 +0000 |
commit | 5fa7d37e377abb89e317f4ebd47ebea69ebe0fd9 (patch) | |
tree | 2e782fc004f10f9191800efe801922ce556f49db /epan/epan.c | |
parent | 25ce6c262edc7348ec1057f929630e6862eff47d (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.c | 2 |
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 |