Fix build for non-Linux platforms having openat.
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 27 Jun 2020 10:27:59 +0000 (11:27 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 27 Jun 2020 10:27:59 +0000 (11:27 +0100)
Broken-by: 1077d3c3f9
src/OS/os.h-Darwin
src/OS/os.h-FreeBSD
src/OS/os.h-OpenBSD
src/OS/os.h-SunOS5

index 7e3a67c4e46aacd44f4e5c09a04501ced876b246..1a557d829ef5dcbfa3c18363a5a3be1b51c2c0f6 100644 (file)
@@ -6,6 +6,7 @@
 #define HAVE_SYS_MOUNT_H
 #define PAM_H_IN_PAM
 #define SIOCGIFCONF_GIVES_ADDR
 #define HAVE_SYS_MOUNT_H
 #define PAM_H_IN_PAM
 #define SIOCGIFCONF_GIVES_ADDR
+#define EXIM_HAVE_OPENAT
 
 
 #define F_FREESP     O_TRUNC
 
 
 #define F_FREESP     O_TRUNC
index 73d99767a0053081681d3354596519a7364c9583..548a82d4bd0111d4ac9d9dd702a22082ea6b4b33 100644 (file)
@@ -14,6 +14,7 @@
 #define SIOCGIFCONF_GIVES_ADDR
 #define HAVE_SRANDOMDEV
 #define HAVE_ARC4RANDOM
 #define SIOCGIFCONF_GIVES_ADDR
 #define HAVE_SRANDOMDEV
 #define HAVE_ARC4RANDOM
+#define EXIM_HAVE_OPENAT
 
 /* Applications should not call arc4random_stir() explicitly after
  * FreeBSD r227520 (approximately 1000002).
 
 /* Applications should not call arc4random_stir() explicitly after
  * FreeBSD r227520 (approximately 1000002).
index dde779f00fc15bcd94d76b0890d63dd8b28738f8..dc5dc0233e35e2544ab6e69ef4a3108c1110ed75 100644 (file)
@@ -7,6 +7,7 @@
 #define HAVE_MMAP
 #define HAVE_SYS_MOUNT_H
 #define SIOCGIFCONF_GIVES_ADDR
 #define HAVE_MMAP
 #define HAVE_SYS_MOUNT_H
 #define SIOCGIFCONF_GIVES_ADDR
+#define EXIM_HAVE_OPENAT
 #define HAVE_ARC4RANDOM
 /* In May 2014, OpenBSD 5.5 was released which cleaned up the arc4random_* API
    which removed the arc4random_stir() function. Set NOT_HAVE_ARC4RANDOM_STIR
 #define HAVE_ARC4RANDOM
 /* In May 2014, OpenBSD 5.5 was released which cleaned up the arc4random_* API
    which removed the arc4random_stir() function. Set NOT_HAVE_ARC4RANDOM_STIR
index dfbd8f1afb8b0bb0eec367a9b12cba21a03cb9b5..a029161e0f8f386979a7b2ca8fdab025c15e7942 100644 (file)
@@ -8,6 +8,7 @@
 
 #define HAVE_GETIPNODEBYNAME    1
 #define HAVE_GETIPNODEBYADDR    1
 
 #define HAVE_GETIPNODEBYNAME    1
 #define HAVE_GETIPNODEBYADDR    1
+##define EXIM_HAVE_OPENAT
 
 #define HAVE_KSTAT
 #define LOAD_AVG_KSTAT         "system_misc"
 
 #define HAVE_KSTAT
 #define LOAD_AVG_KSTAT         "system_misc"