diff options
-rw-r--r-- | .builds/openbsd.yml | 4 | ||||
-rw-r--r-- | openbsd-compat/err_h/err.h | 3 | ||||
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 2 | ||||
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 1 |
4 files changed, 8 insertions, 2 deletions
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml index a0557a99..97b9634c 100644 --- a/.builds/openbsd.yml +++ b/.builds/openbsd.yml @@ -1,6 +1,6 @@ -image: openbsd/6.6 +image: openbsd/6.8 packages: -- autoconf-2.69p2 +- autoconf-2.69p3 - automake-1.14.1p1 - libtool sources: diff --git a/openbsd-compat/err_h/err.h b/openbsd-compat/err_h/err.h index a56b6188..92aa69f6 100644 --- a/openbsd-compat/err_h/err.h +++ b/openbsd-compat/err_h/err.h @@ -10,6 +10,9 @@ void err(int, const char *, ...); __attribute__ ((noreturn)) void errx(int, const char *, ...); +__attribute__ ((noreturn)) +void errc(int, int, const char *, ...); + void warn(const char *, ...); void warnx(const char *, ...); diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 57748621..ec0ae516 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h @@ -334,6 +334,8 @@ const char *strerror(int); int usleep(unsigned int useconds); #endif +int pipe2(int pipefd[2], int flags); + char *get_progname(char *); diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 3b8c6764..ad0ebdea 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -80,6 +80,7 @@ #include <util.h> #endif +#include <openssl/rand.h> #include <openssl/ssl.h> #include <openssl/evp.h> |