From 6d4e553c27fdc7fd5e837e08c91cdf7b972f4d91 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sun, 1 Sep 2013 02:59:11 +0200 Subject: [PATCH] conntrack-tools: fixed to include sys/select.h to get fd_set --- .../0003-include-sys-select.h.patch | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 network/conntrack-tools/0003-include-sys-select.h.patch diff --git a/network/conntrack-tools/0003-include-sys-select.h.patch b/network/conntrack-tools/0003-include-sys-select.h.patch new file mode 100644 index 000000000..78659dec0 --- /dev/null +++ b/network/conntrack-tools/0003-include-sys-select.h.patch @@ -0,0 +1,70 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../conntrack-tools/0003-include-sys-select.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 sys/select.h to get fd_set + +--- ./src/udp.c.orig 2013-09-01 01:47:48.965734257 +0200 ++++ ./src/udp.c 2013-09-01 01:49:11.671609969 +0200 +@@ -7,8 +7,6 @@ + * (at your option) any later version. + */ + +-#include "udp.h" +- + #include + #include + #include +@@ -18,6 +16,9 @@ + #include + #include + #include ++#include ++ ++#include "udp.h" + + struct udp_sock *udp_server_create(struct udp_conf *conf) + { +--- ./src/tcp.c.orig 2013-09-01 02:22:00.461217706 +0200 ++++ ./src/tcp.c 2013-09-01 02:24:13.520277224 +0200 +@@ -9,8 +9,6 @@ + * TCP support has been sponsored by 6WIND . + */ + +-#include "tcp.h" +- + #include + #include + #include +@@ -21,7 +19,9 @@ + #include + #include + #include ++#include + ++#include "tcp.h" + #include "conntrackd.h" + #include "fds.h" + +--- ./include/mcast.h.orig 2013-09-01 02:42:11.601231152 +0200 ++++ ./include/mcast.h 2013-09-01 02:42:57.838277721 +0200 +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include /* for fd_set */ + + struct mcast_conf { + int ipproto;