From: Ruben Undheim Date: Sun, 18 Nov 2018 13:02:47 +0100 Subject: MAXPATHLEN set if not defined Forwarded: not-needed --- src/vty/command.c | 5 +++++ src/vty/vty.c | 5 +++++ 2 files changed, 10 insertions(+) Index: libosmocore-1.14.0/src/vty/command.c =================================================================== --- libosmocore-1.14.0.orig/src/vty/command.c 2026-07-21 13:18:37.830616545 +0200 +++ libosmocore-1.14.0/src/vty/command.c 2026-07-21 13:18:37.826616507 +0200 @@ -59,6 +59,11 @@ #endif +#ifndef MAXPATHLEN + #define MAXPATHLEN 4096 +#endif + + /*! \addtogroup command * @{ * VTY command handling Index: libosmocore-1.14.0/src/vty/vty.c =================================================================== --- libosmocore-1.14.0.orig/src/vty/vty.c 2026-07-21 13:18:37.830616545 +0200 +++ libosmocore-1.14.0/src/vty/vty.c 2026-07-21 13:18:37.826616507 +0200 @@ -75,6 +75,11 @@ #endif +#ifndef MAXPATHLEN + #define MAXPATHLEN 4096 +#endif + + /* \addtogroup vty * @{ * \file vty.c */