diff options
Diffstat (limited to 'src/plugins/lb')
-rw-r--r-- | src/plugins/lb/lb_all_api_h.h | 5 | ||||
-rw-r--r-- | src/plugins/lb/lb_test.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/lb/lb_all_api_h.h b/src/plugins/lb/lb_all_api_h.h index 6d830d710d2..6afc0f35908 100644 --- a/src/plugins/lb/lb_all_api_h.h +++ b/src/plugins/lb/lb_all_api_h.h @@ -16,4 +16,9 @@ * limitations under the License. */ /* Include the generated file, see BUILT_SOURCES in Makefile.am */ + +#ifdef vl_printfun +#include <vnet/format_fns.h> +#endif + #include <lb/lb.api.h> diff --git a/src/plugins/lb/lb_test.c b/src/plugins/lb/lb_test.c index 1edabb51f86..3da7eb04ffb 100644 --- a/src/plugins/lb/lb_test.c +++ b/src/plugins/lb/lb_test.c @@ -84,6 +84,7 @@ typedef enum { /* instantiate all the print functions we know about */ #define vl_print(handle, ...) #define vl_printfun +#include <vnet/format_fns.h> #include <lb/lb.api.h> #undef vl_printfun |