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.6.0/src/vty/command.c =================================================================== --- libosmocore-1.6.0.orig/src/vty/command.c 2022-01-02 00:17:16.357740919 +0100 +++ libosmocore-1.6.0/src/vty/command.c 2022-01-02 00:17:16.357740919 +0100 @@ -57,6 +57,11 @@ #endif +#ifndef MAXPATHLEN + #define MAXPATHLEN 4096 +#endif + + /*! \addtogroup command * @{ * VTY command handling Index: libosmocore-1.6.0/src/vty/vty.c =================================================================== --- libosmocore-1.6.0.orig/src/vty/vty.c 2022-01-02 00:17:16.357740919 +0100 +++ libosmocore-1.6.0/src/vty/vty.c 2022-01-02 00:17:16.357740919 +0100 @@ -74,6 +74,11 @@ #endif +#ifndef MAXPATHLEN + #define MAXPATHLEN 4096 +#endif + + /* \addtogroup vty * @{ * \file vty.c */