From: Sangeetha Elumalai <sangeetha.elumalai@timesys.com>
Date: Tue, 14 Oct 2025 11:01:05 +0530

diff --git a/libxtables/xtables.c b/libxtables/xtables.c
index 5fc50a6..22cc344 100644
--- a/libxtables/xtables.c
+++ b/libxtables/xtables.c
@@ -76,6 +76,10 @@
 #define ETH_ALEN 6
 #endif
 
+#ifndef O_CLOEXEC
+#define O_CLOEXEC	02000000
+#endif
+
 /* we need this for ip6?tables-restore.  ip6?tables-restore.c sets line to the
  * current line of the input file, in order  to give a more precise error
  * message.  ip6?tables itself doesn't need this, so it is initialized to the
-- 
2.25.1
diff --git a/include/linux/sysinfo.h b/include/linux/sysinfo.h
index 435d5c2..3d52a45 100644
--- a/include/linux/sysinfo.h
+++ b/include/linux/sysinfo.h
@@ -4,6 +4,14 @@
 
 #include <linux/types.h>
 
+#ifndef __kernel_long_t
+typedef long __kernel_long_t;
+#endif
+
+#ifndef __kernel_ulong_t
+typedef unsigned long	__kernel_ulong_t;
+#endif
+
 #define SI_LOAD_SHIFT	16
 struct sysinfo {
 	__kernel_long_t uptime;		/* Seconds since boot */
-- 
2.25.1
