2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

hurd: Fix build

Move PATH_MAX, NAME_MAX, IOV_MAX default definitions to the common
<isc/platform.h>.
This commit is contained in:
Samuel Thibault
2019-11-10 20:14:17 +00:00
parent 9e2da86ab9
commit d10fbdec84
7 changed files with 24 additions and 27 deletions

View File

@@ -26,6 +26,8 @@
#include <sys/types.h>
#include <isc/platform.h>
#include <ctype.h>
#include <limits.h>
#include <stdint.h>
@@ -142,10 +144,6 @@ 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;