From 0f8f42a09eb102fa88e4d2caacdafbeda931f94c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 3 Jul 2002 05:09:43 +0000 Subject: [PATCH] 1341. [port] linux: Slackware 4.0 needs . --- CHANGES | 2 ++ bin/named/unix/os.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index c9ca453faa..5c8c53cb6c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1341. [port] linux: Slackware 4.0 needs . + 1342. [bug] dnssec-signzone usage message was misleading. 1341. [bug] If the last RRset in a zone is glue, dnssec-signzone diff --git a/bin/named/unix/os.c b/bin/named/unix/os.c index 548589c631..1a49dbadbe 100644 --- a/bin/named/unix/os.c +++ b/bin/named/unix/os.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: os.c,v 1.58 2002/05/03 05:28:25 marka Exp $ */ +/* $Id: os.c,v 1.59 2002/07/03 05:09:43 marka Exp $ */ #include #include @@ -132,6 +132,9 @@ static isc_boolean_t non_root_caps = ISC_FALSE; #endif /* HAVE_SYS_PRCTL_H */ #ifndef SYS_capset +#ifndef __NR_capset +#include /* Slackware 4.0 needs this. */ +#endif #define SYS_capset __NR_capset #endif