Commit f285dd9a authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch 'marka-define-path-max' into 'master'

#include <limits.h> for PATH_MAX, define if not found

See merge request !1635
parents ce6f3d4b 1fc7be36
Pipeline #11484 passed with stages
in 1 minute and 6 seconds
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment