b4802c
From cb654ddde5953cab9dfde7173ea1ed14b51c3727 Mon Sep 17 00:00:00 2001
b4802c
From: Mark Andrews <marka@isc.org>
b4802c
Date: Sun, 22 Dec 2019 21:51:21 +0000
b4802c
Subject: [PATCH] Merge branch
b4802c
 '1530-lib-dns-gen-c-29-26-fatal-error-isc-platform-h-no-such-file-or-directory-v9_11'
b4802c
 into 'v9_11'
b4802c
b4802c
Resolve "lib/dns/gen.c:29:26: fatal error: isc/platform.h: No such file or directory"
b4802c
b4802c
See merge request isc-projects/bind9!2794
b4802c
b4802c
(cherry picked from commit 335ab375d6a0227fb362722acad22f2a5b75d8b7)
b4802c
---
b4802c
 lib/dns/gen.c | 10 +++++-----
b4802c
 1 file changed, 5 insertions(+), 5 deletions(-)
b4802c
b4802c
diff --git a/lib/dns/gen.c b/lib/dns/gen.c
b4802c
index 81bc7ada1d..5fbdc3bfd3 100644
b4802c
--- a/lib/dns/gen.c
b4802c
+++ b/lib/dns/gen.c
b4802c
@@ -26,18 +26,18 @@
b4802c
 
b4802c
 #include <sys/types.h>
b4802c
 
b4802c
-#include <isc/platform.h>
b4802c
-
b4802c
 #include <ctype.h>
b4802c
+#include <errno.h>
b4802c
 #include <limits.h>
b4802c
 #include <stdint.h>
b4802c
-#include <stdlib.h>
b4802c
 #include <stdio.h>
b4802c
 #include <stdlib.h>
b4802c
 #include <string.h>
b4802c
 #include <time.h>
b4802c
-#include <errno.h>
b4802c
-#include <limits.h>
b4802c
+
b4802c
+#ifndef PATH_MAX
b4802c
+#define PATH_MAX 1024
b4802c
+#endif
b4802c
 
b4802c
 #ifdef WIN32
b4802c
 #include "gen-win32.h"
b4802c
-- 
b4802c
2.21.0
b4802c