aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_all_api_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gbp/gbp_all_api_h.h')
-rw-r--r--src/plugins/gbp/gbp_all_api_h.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/gbp/gbp_all_api_h.h b/src/plugins/gbp/gbp_all_api_h.h
index dd78bc1d3ab..f90c36e554e 100644
--- a/src/plugins/gbp/gbp_all_api_h.h
+++ b/src/plugins/gbp/gbp_all_api_h.h
@@ -13,6 +13,11 @@
* limitations under the License.
*/
/* Include the generated file, see BUILT_SOURCES in Makefile.am */
+
+#ifdef vl_printfun
+#include <vnet/format_fns.h>
+#endif
+
#include <gbp/gbp.api.h>
#ifdef vl_printfun