mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-14 14:42:22 -04:00
#include <limits.h> for PATH_MAX, define if not found
This commit is contained in:
parent
ce6f3d4bb4
commit
1fc7be36eb
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
|
@ -135,6 +136,10 @@ static const char copyright[] =
|
|||
#define TYPECLASSFMT "%" STR(TYPECLASSLEN) "[-0-9a-z]_%d"
|
||||
#define ATTRIBUTESIZE 256
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 1024
|
||||
#endif
|
||||
|
||||
static struct cc {
|
||||
struct cc *next;
|
||||
int rdclass;
|
||||
|
|
|
|||
Loading…
Reference in a new issue