Build: separate guard for futimens()
[users/jgh/exim.git] / src / OS / os.h-OpenBSD
index b09bd84bef9a41426f467942d4f2ea6422ee9db1..f599c09e4a4b66bb137bb8ecc9ae5204cd0febbd 100644 (file)
@@ -7,6 +7,8 @@
 #define HAVE_MMAP
 #define HAVE_SYS_MOUNT_H
 #define SIOCGIFCONF_GIVES_ADDR
+#define EXIM_HAVE_OPENAT
+#define EXIM_HAVE_FUTIMENS
 #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
@@ -53,7 +55,8 @@ typedef struct __res_state *res_state;
 #endif
 #define TIME_T_FMT "%lld"
 
-/* seems arpa/nameser.h does not define this */
-#define NS_MAXMSG 16380
+/* seems arpa/nameser.h does not define this.
+Space-constrained devices could use much smaller; a few k. */
+#define NS_MAXMSG 65535
 
 /* End */