From: Pablo Neira Ayuso <[email protected]>

This example has to compile out of the tree, including internal.h
is not required and using PACKAGE_VERSION here, which is internal
to the library, does not seem to me like a good idea.
---
 tests/ipa_proxy_test.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/tests/ipa_proxy_test.c b/tests/ipa_proxy_test.c
index 6288a3a..2ed30ff 100644
--- a/tests/ipa_proxy_test.c
+++ b/tests/ipa_proxy_test.c
@@ -8,8 +8,6 @@
 #include <osmocom/vty/vty.h>
 #include <osmocom/vty/command.h>
 #include <osmocom/vty/telnet_interface.h>
-#include "internal.h"
-#include "config.h"
 
 static void *tall_test;
 
@@ -52,7 +50,7 @@ static enum node_type bsc_vty_go_parent(struct vty *vty)
 
 static struct vty_app_info vty_info = {
        .name           = "ipa-proxy-test",
-       .version        = PACKAGE_VERSION,
+       .version        = "1.0",
        .go_parent_cb   = bsc_vty_go_parent,
        .is_config_node = bsc_vty_is_config_node,
 };
-- 
1.7.2.5


Reply via email to