blob: 53d70cc2b079efccc6436e55362dac2ffd85a8a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Description: Fix FTBFS on hurd-i386
Author: Svante Signell <svante.signell@gmail.com>
--- scm.orig/findexec.c
+++ scm/findexec.c
@@ -51,7 +51,7 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer
# include <sys/file.h>
# include <sys/param.h>
# endif
-# if defined(linux) || defined(__GLIBC__)
+# if defined(linux) || defined(__GLIBC__) || defined(__GNU__)
# include <string.h>
# include <stdlib.h>
# include <sys/stat.h>
@@ -122,6 +122,9 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer
# include <sys/types.h>
# include <sys/stat.h>
# endif
+# ifndef MAXPATHLEN
+# define MAXPATHLEN 256
+# endif
# ifdef GO32
# include <sys/stat.h>
# endif
|