1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../iptables/compile.patch.dietlibc
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -ruN iptables-1.3.2.orig/include/libiptc/ipt_kernel_headers.h iptables-1.3.2/include/libiptc/ipt_kernel_headers.h
18 --- iptables-1.3.2.orig/include/libiptc/ipt_kernel_headers.h 2004-10-10 11:56:23.000000000 +0200
19 +++ iptables-1.3.2/include/libiptc/ipt_kernel_headers.h 2005-07-19 12:17:03.000000000 +0200
24 -#if defined(__GLIBC__) && __GLIBC__ == 2
25 +#if (defined(__GLIBC__) && __GLIBC__ == 2) || defined(__dietlibc__)
26 #include <netinet/ip.h>
27 #include <netinet/in.h>
28 #include <netinet/ip_icmp.h>
29 diff -ruN iptables-1.3.2.orig/iptables-restore.c iptables-1.3.2/iptables-restore.c
30 --- iptables-1.3.2.orig/iptables-restore.c 2005-06-24 18:34:19.000000000 +0200
31 +++ iptables-1.3.2/iptables-restore.c 2005-07-19 12:17:03.000000000 +0200
36 -#include <sys/errno.h>
41 diff -ruN iptables-1.3.2.orig/iptables-save.c iptables-1.3.2/iptables-save.c
42 --- iptables-1.3.2.orig/iptables-save.c 2005-04-15 11:30:16.000000000 +0200
43 +++ iptables-1.3.2/iptables-save.c 2005-07-19 12:17:03.000000000 +0200
48 -#include <sys/errno.h>