#include <limits.h> for PATH_MAX, define if not found
(cherry picked from commit 1fc7be36eb)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user