mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-20 21:58:03 -04:00
reviewed: bwelling
1341. [port] linux: Slackware 4.0 needs <asm/unistd.h>.
This commit is contained in:
parent
b1a7576009
commit
7d73f463e2
2 changed files with 6 additions and 1 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
1343. [port] linux: Slackware 4.0 needs <asm/unistd.h>.
|
||||
|
||||
1340. [doc] query-source-v6 was missing from options section.
|
||||
[RT #3218]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: os.c,v 1.46.2.1 2001/10/22 23:28:12 gson Exp $ */
|
||||
/* $Id: os.c,v 1.46.2.2 2002/07/09 01:42:05 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
#include <stdarg.h>
|
||||
|
|
@ -127,6 +127,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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue