From ac7cf48a98989661b35ff7c1e7681b657dce3d74 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 3 May 2017 08:55:38 -0600 Subject: [PATCH] dnp3: in template, include files own headers To deal with -Wmissing-prototypes as added in ab1200fbd7fd4d3e0fe097fab3b3bcfefaba7e2e Note: Change was already applied to source files, this just updates the generation. --- scripts/dnp3-gen/dnp3-gen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/dnp3-gen/dnp3-gen.py b/scripts/dnp3-gen/dnp3-gen.py index 67cee0e2bc..cc2aa8fc43 100755 --- a/scripts/dnp3-gen/dnp3-gen.py +++ b/scripts/dnp3-gen/dnp3-gen.py @@ -68,6 +68,7 @@ util_lua_dnp3_objects_c_template = """/* Copyright (C) 2015 Open Information Sec #include #include "util-lua.h" +#include "util-lua-dnp3-objects.h" /** * \\brief Push an object point item onto the stack. @@ -155,6 +156,7 @@ output_json_dnp3_objects_template = """/* Copyright (C) 2015 Open Information Se #include "app-layer-dnp3.h" #include "app-layer-dnp3-objects.h" +#include "output-json-dnp3-objects.h" #ifdef HAVE_LIBJANSSON