aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty/command.c
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-11-18 13:02:47 +0100
committerlaforge <laforge@gnumonks.org>2019-09-02 09:12:27 +0000
commit766f77c3d9b479b49e6e2bc2b105ceb4889304d3 (patch)
tree877d6b1557adc16b88d54ff8d15d762aa306e9c4 /src/vty/command.c
parente674c44c3073705ae46b668cd86100bd9c90db98 (diff)
MAXPATHLEN set if not defined
Diffstat (limited to 'src/vty/command.c')
-rw-r--r--src/vty/command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vty/command.c b/src/vty/command.c
index 454a10c3..35169eb0 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -47,6 +47,11 @@ Boston, MA 02110-1301, USA. */
#include <osmocom/core/talloc.h>
#include <osmocom/core/utils.h>
+#ifndef MAXPATHLEN
+ #define MAXPATHLEN 4096
+#endif
+
+
/*! \addtogroup command
* @{
* VTY command handling