From 225a5b8812e57ed621f70606c36a4d65607a1463 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 15 Dec 2021 20:43:31 +0000 Subject: [PATCH] include unistd.h directly rather than pulling it in via zlib's zconf.h (needed for getdtablecount). --- usr.sbin/ldapd/util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ldapd/util.c b/usr.sbin/ldapd/util.c index 02cde7f9586..ffa31c234ac 100644 --- a/usr.sbin/ldapd/util.c +++ b/usr.sbin/ldapd/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.13 2020/11/29 20:04:36 tb Exp $ */ +/* $OpenBSD: util.c,v 1.14 2021/12/15 20:43:31 tb Exp $ */ /* * Copyright (c) 2009 Martin Hedenfalk @@ -25,11 +25,12 @@ #include #include +#include #include #include #include +#include #include -#include #include "ldapd.h" #include "log.h" -- 2.20.1