add a few missing headers, reduces the diff with -portable
authorop <op@openbsd.org>
Wed, 10 May 2023 07:19:49 +0000 (07:19 +0000)
committerop <op@openbsd.org>
Wed, 10 May 2023 07:19:49 +0000 (07:19 +0000)
ok millert@

usr.sbin/smtpd/mail.maildir.c
usr.sbin/smtpd/parse.y

index c204caa..355831e 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sysexits.h>
+#include <time.h>
 #include <unistd.h>
 
 #define        MAILADDR_ESCAPE         "!#$%&'*/?^`{|}~"
index 4915bf6..42d3968 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: parse.y,v 1.291 2022/02/10 14:59:35 millert Exp $     */
+/*     $OpenBSD: parse.y,v 1.292 2023/05/10 07:19:49 op Exp $  */
 
 /*
  * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -34,6 +34,8 @@
 #include <ifaddrs.h>
 #include <inttypes.h>
 #include <resolv.h>
+#include <stdlib.h>
+#include <string.h>
 #include <syslog.h>
 #include <unistd.h>
 #include <util.h>