# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/iptables/compile.patch.dietlibc # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-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