summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat_all_api_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/nat_all_api_h.h')
-rw-r--r--src/plugins/nat/nat_all_api_h.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/nat/nat_all_api_h.h b/src/plugins/nat/nat_all_api_h.h
index acd9ba1cac9..f011a089b09 100644
--- a/src/plugins/nat/nat_all_api_h.h
+++ b/src/plugins/nat/nat_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 <nat/nat.api.h>