From 5810c47f5b7faa67118ed56cbdf3f24dff013655 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 30 Aug 2013 10:07:42 +0200 Subject: [PATCH] ulogd2: fixed raw2packet filter to include to get __be{16,32} types --- .../ulogd2/0002-include-linux_types.h.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 network/ulogd2/0002-include-linux_types.h.patch diff --git a/network/ulogd2/0002-include-linux_types.h.patch b/network/ulogd2/0002-include-linux_types.h.patch new file mode 100644 index 000000000..110a9d65f --- /dev/null +++ b/network/ulogd2/0002-include-linux_types.h.patch @@ -0,0 +1,36 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../ulogd2/0002-include-linux_types.h.patch +# Copyright (C) 2013 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +include to get __be{16,32} types + +error log +------------------------------------------------------------------------------ +ulogd_raw2packet_BASE.c:591:2: error: unknown type name '__be16' +ulogd_raw2packet_BASE.c:592:2: error: unknown type name '__be16' +ulogd_raw2packet_BASE.c:593:2: error: unknown type name '__be32' +ulogd_raw2packet_BASE.c:594:2: error: unknown type name '__be32' +------------------------------------------------------------------------------ + +--- a/filter/raw2packet/ulogd_raw2packet_BASE.c 2013-01-02 02:00:55.022574242 +0100 ++++ b/filter/raw2packet/ulogd_raw2packet_BASE.c 2013-01-02 02:01:23.535273074 +0100 +@@ -48,6 +48,7 @@ + #include + #include + #include ++#include + + enum input_keys { + INKEY_RAW_PCKT,