summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/OS/os.h-OpenBSD5
-rw-r--r--src/src/globals.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD
index b09bd84be..dde779f00 100644
--- a/src/OS/os.h-OpenBSD
+++ b/src/OS/os.h-OpenBSD
@@ -53,7 +53,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 */
diff --git a/src/src/globals.c b/src/src/globals.c
index 731d25c0a..b3362a34c 100644
--- a/src/src/globals.c
+++ b/src/src/globals.c
@@ -1220,7 +1220,7 @@ pid_t queue_run_pid = (pid_t)0;
int queue_run_pipe = -1;
uschar *queue_smtp_domains = NULL;
-unsigned int random_seed = 0;
+uint32_t random_seed = 0;
tree_node *ratelimiters_cmd = NULL;
tree_node *ratelimiters_conn = NULL;
tree_node *ratelimiters_mail = NULL;