]> dgit.raspbian.org Git - samba.git/commitdiff
check for openat2
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 24 Feb 2026 07:19:30 +0000 (10:19 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 25 Sep 2026 09:44:12 +0000 (12:44 +0300)
Gbp-Pq: Name check-for-openat2.patch

lib/replace/wscript

index b9a6fe0c2ec705728bc52cd2ece28a732440a577..adb0850ee4b278b1d47a99f3f369272c067506e9 100644 (file)
@@ -444,6 +444,7 @@ def configure(conf):
     conf.CHECK_FUNCS('asprintf vasprintf setenv unsetenv strnlen strtoull __strtoull')
     conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq memalign posix_memalign')
     conf.CHECK_FUNCS('fmemopen renameat2')
+    conf.CHECK_FUNCS('openat2')
 
     if conf.CONFIG_SET('HAVE_MEMALIGN'):
         conf.CHECK_DECLS('memalign', headers='malloc.h')