From e9ec17621338d550f8b21353be6a0060c10cd5bd Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 3 Jul 2022 16:00:11 +0000 Subject: [PATCH] use sys/types.h to get at __dead. Pointed out by & OK deraadt --- usr.bin/dig/host.c | 2 +- usr.bin/dig/lib/isc/include/isc/assertions.h | 4 ++-- usr.bin/dig/lib/isc/include/isc/error.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/dig/host.c b/usr.bin/dig/host.c index 9a88fd1a7f3..d2373016f6c 100644 --- a/usr.bin/dig/host.c +++ b/usr.bin/dig/host.c @@ -15,7 +15,7 @@ */ /*! \file */ -#include +#include #include #include diff --git a/usr.bin/dig/lib/isc/include/isc/assertions.h b/usr.bin/dig/lib/isc/include/isc/assertions.h index e427d9ae9b8..9e9e6e4dd68 100644 --- a/usr.bin/dig/lib/isc/include/isc/assertions.h +++ b/usr.bin/dig/lib/isc/include/isc/assertions.h @@ -15,7 +15,7 @@ */ /* - * $Id: assertions.h,v 1.4 2020/02/13 13:53:01 jsg Exp $ + * $Id: assertions.h,v 1.5 2022/07/03 16:00:11 florian Exp $ */ /*! \file isc/assertions.h */ @@ -23,7 +23,7 @@ #ifndef ISC_ASSERTIONS_H #define ISC_ASSERTIONS_H 1 -#include +#include /*% isc assertion type */ typedef enum { diff --git a/usr.bin/dig/lib/isc/include/isc/error.h b/usr.bin/dig/lib/isc/include/isc/error.h index 56265d7069a..f5ffca7dccd 100644 --- a/usr.bin/dig/lib/isc/include/isc/error.h +++ b/usr.bin/dig/lib/isc/include/isc/error.h @@ -14,14 +14,14 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: error.h,v 1.5 2020/02/25 05:00:43 jsg Exp $ */ +/* $Id: error.h,v 1.6 2022/07/03 16:00:11 florian Exp $ */ #ifndef ISC_ERROR_H #define ISC_ERROR_H 1 /*! \file isc/error.h */ -#include +#include #include typedef void (*isc_errorcallback_t)(const char *, int, const char *, va_list); -- 2.20.1