File: fix_build_on_hurd

package info (click to toggle)
viking 1.10%2Bgit20250612.b98e55e-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,420 kB
  • sloc: ansic: 80,956; xml: 2,894; sh: 2,481; makefile: 874; python: 589; perl: 384; cpp: 259
file content (18 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Bernd Zeimetz <bzed@debian.org>
Date: Sat, 19 Nov 2016 00:15:50 +0100
Subject: fix build on hurd

---
 src/metatile.h | 4 ++++
 1 file changed, 4 insertions(+)

--- a/src/metatile.h
+++ b/src/metatile.h
@@ -26,3 +26,7 @@
 int xyz_to_meta(char *path, size_t len, const char *dir, int x, int y, int z);
 
 int metatile_read(const char *dir, int x, int y, int z, char *buf, size_t sz, int * compressed, char * log_msg);
+
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif