From f94dfd44be0761239a2e5874cea9017236b73e17 Mon Sep 17 00:00:00 2001 From: Svante Signell Date: Tue, 23 Sep 2014 13:18:16 +0200 Subject: Fix FTBFS on Debian/Hurd Closes https://github.com/mate-desktop/mate-menus/issues/20 --- libmenu/canonicalize.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmenu/canonicalize.c b/libmenu/canonicalize.c index cd2b75a..1a29ae9 100644 --- a/libmenu/canonicalize.c +++ b/libmenu/canonicalize.c @@ -33,6 +33,10 @@ #include #include +#ifndef MAXSYMLINKS +#define MAXSYMLINKS sysconf(_SC_SYMLOOP_MAX) +#endif + /* Return the canonical absolute name of file NAME. A canonical name does not contain any `.', `..' components nor any repeated path separators ('/') or symlinks. All path components must exist. If -- cgit v1.2.1