diff --git a/main/cjdns/0001-seccomp-handle-__NR_clock_gettime64-when-appropriate.patch b/main/cjdns/0001-seccomp-handle-__NR_clock_gettime64-when-appropriate.patch
new file mode 100644
index 0000000000000000000000000000000000000000..c220b94ad4e70be16d79e42835f82f978742df3e
--- /dev/null
+++ b/main/cjdns/0001-seccomp-handle-__NR_clock_gettime64-when-appropriate.patch
@@ -0,0 +1,31 @@
+From 6821900ac6bcb722ff5220ee1ea1152a22f2e148 Mon Sep 17 00:00:00 2001
+From: Ariadne Conill <ariadne@dereferenced.org>
+Date: Wed, 22 Jul 2020 03:12:04 -0600
+Subject: [PATCH] seccomp: handle __NR_clock_gettime64 when appropriate
+
+---
+ util/Seccomp.c | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/util/Seccomp.c b/util/Seccomp.c
+index c2f87e93..eb6609aa 100644
+--- a/util/Seccomp.c
++++ b/util/Seccomp.c
+@@ -262,7 +262,13 @@ static Er_DEFUN(struct sock_fprog* mkFilter(struct Allocator* alloc))
+         // older versions need system calls for getting the time.
+         // i686 glibc-2.18's time() uses __NR_time
+         // Raspberry Pi and BeagleBone Black don't provide __NR_time
+-        IFEQ(__NR_clock_gettime, success),
++        // 32-bit systems with 64-bit time_t use __NR_clock_gettime64
++        #ifdef __NR_clock_gettime64
++            IFEQ(__NR_clock_gettime64, success),
++        #endif
++        #ifdef __NR_clock_gettime
++            IFEQ(__NR_clock_gettime, success),
++        #endif
+         #ifdef __NR_time
+             IFEQ(__NR_time, success),
+         #endif
+-- 
+2.27.0
+