aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdeps/trypidfd_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trypidfd_open.c')
-rw-r--r--src/sysdeps/trypidfd_open.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sysdeps/trypidfd_open.c b/src/sysdeps/trypidfd_open.c
new file mode 100644
index 0000000..8840742
--- /dev/null
+++ b/src/sysdeps/trypidfd_open.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
+#include <sys/syscall.h>
+#include <unistd.h>
+
+static long a = SYS_pidfd_open ;