From: Jason Ish Date: Wed, 3 May 2017 14:55:38 +0000 (-0600) Subject: dnp3: in template, include files own headers X-Git-Tag: suricata-4.0.0-beta1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7cf48a98989661b35ff7c1e7681b657dce3d74;p=thirdparty%2Fsuricata.git 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. --- 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