# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../iptables/compile.patch.dietlibc # Copyright (C) 2004 - 2016 The T2 SDE 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. # --- T2-COPYRIGHT-NOTE-END --- diff -ruN iptables-1.3.2.orig/include/libiptc/ipt_kernel_headers.h iptables-1.3.2/include/libiptc/ipt_kernel_headers.h --- iptables-1.3.2.orig/include/libiptc/ipt_kernel_headers.h 2004-10-10 11:56:23.000000000 +0200 +++ iptables-1.3.2/include/libiptc/ipt_kernel_headers.h 2005-07-19 12:17:03.000000000 +0200 @@ -5,7 +5,7 @@ #include -#if defined(__GLIBC__) && __GLIBC__ == 2 +#if (defined(__GLIBC__) && __GLIBC__ == 2) || defined(__dietlibc__) #include #include #include diff -ruN iptables-1.3.2.orig/iptables-restore.c iptables-1.3.2/iptables-restore.c --- iptables-1.3.2.orig/iptables-restore.c 2005-06-24 18:34:19.000000000 +0200 +++ iptables-1.3.2/iptables-restore.c 2005-07-19 12:17:03.000000000 +0200 @@ -8,7 +8,7 @@ */ #include -#include +#include #include #include #include diff -ruN iptables-1.3.2.orig/iptables-save.c iptables-1.3.2/iptables-save.c --- iptables-1.3.2.orig/iptables-save.c 2005-04-15 11:30:16.000000000 +0200 +++ iptables-1.3.2/iptables-save.c 2005-07-19 12:17:03.000000000 +0200 @@ -6,7 +6,7 @@ * */ #include -#include +#include #include #include #include