diff --git a/libc-test/build.rs b/libc-test/build.rs
index d16f0945599ff9b5f7aac2630a56cae9a454d99e..790bfa014e6aaf79b26ab80a320cc277914c796f 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1357,6 +1357,7 @@ fn test_android(target: &str) {
                 "linux/netfilter/nf_tables.h",
                 "linux/netfilter_ipv4.h",
                 "linux/netfilter_ipv6.h",
+                "linux/netfilter_ipv6/ip6_tables.h",
                 "linux/netlink.h",
                 "linux/quota.h",
                 "linux/reboot.h",
@@ -2246,6 +2247,7 @@ fn test_linux(target: &str) {
         "linux/netfilter/nf_tables.h",
         "linux/netfilter_ipv4.h",
         "linux/netfilter_ipv6.h",
+        "linux/netfilter_ipv6/ip6_tables.h",
         "linux/netlink.h",
         "linux/quota.h",
         "linux/random.h",
diff --git a/src/unix/linux_like/android/mod.rs b/src/unix/linux_like/android/mod.rs
index d87d241ecdeca2e82219bae5fd0cfb8e068272c6..e88e4a61b6f53965f261dbd424d35b3649bc274e 100644
--- a/src/unix/linux_like/android/mod.rs
+++ b/src/unix/linux_like/android/mod.rs
@@ -1666,6 +1666,9 @@ pub const NF_IP6_PRI_SELINUX_LAST: ::c_int = 225;
 pub const NF_IP6_PRI_CONNTRACK_HELPER: ::c_int = 300;
 pub const NF_IP6_PRI_LAST: ::c_int = ::INT_MAX;
 
+// linux/netfilter_ipv6/ip6_tables.h
+pub const IP6T_SO_ORIGINAL_DST: ::c_int = 80;
+
 // linux/netfilter/nf_tables.h
 pub const NFT_TABLE_MAXNAMELEN: ::c_int = 256;
 pub const NFT_CHAIN_MAXNAMELEN: ::c_int = 256;
diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs
index 9f1343a414d6ff768deff3f68d329bb3b427aaa9..fb2ad1aed79c4fa846a09289e0601d27073a9782 100644
--- a/src/unix/linux_like/linux/mod.rs
+++ b/src/unix/linux_like/linux/mod.rs
@@ -1966,6 +1966,9 @@ pub const NF_IP6_PRI_SELINUX_LAST: ::c_int = 225;
 pub const NF_IP6_PRI_CONNTRACK_HELPER: ::c_int = 300;
 pub const NF_IP6_PRI_LAST: ::c_int = ::INT_MAX;
 
+// linux/netfilter_ipv6/ip6_tables.h
+pub const IP6T_SO_ORIGINAL_DST: ::c_int = 80;
+
 pub const SIOCADDRT: ::c_ulong = 0x0000890B;
 pub const SIOCDELRT: ::c_ulong = 0x0000890C;
 pub const SIOCGIFNAME: ::c_ulong = 0x00008910;