]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1341. [port] linux: Slackware 4.0 needs <asm/unistd.h>.
authorMark Andrews <marka@isc.org>
Wed, 3 Jul 2002 05:09:43 +0000 (05:09 +0000)
committerMark Andrews <marka@isc.org>
Wed, 3 Jul 2002 05:09:43 +0000 (05:09 +0000)
CHANGES
bin/named/unix/os.c

diff --git a/CHANGES b/CHANGES
index c9ca453faa676944bb91aa148d2d125b2cc663e0..5c8c53cb6c1e9ccd186baa5a24d8c7a6dbda69fd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1341.  [port]          linux: Slackware 4.0 needs <asm/unistd.h>.
+
 1342.  [bug]           dnssec-signzone usage message was misleading.
 
 1341.  [bug]           If the last RRset in a zone is glue, dnssec-signzone
index 548589c631ed15f0ca28493d1457c39eb9b799be..1a49dbadbe68a1b6746566ece12f9c900591e4aa 100644 (file)
@@ -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 <config.h>
 #include <stdarg.h>
@@ -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 <asm/unistd.h> /* Slackware 4.0 needs this. */
+#endif
 #define SYS_capset __NR_capset
 #endif