aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vty/vty.c')
-rw-r--r--src/vty/vty.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c
index aa23fa00..babe0ef6 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -67,6 +67,11 @@
#include <osmocom/vty/buffer.h>
#include <osmocom/core/talloc.h>
+#ifndef MAXPATHLEN
+ #define MAXPATHLEN 4096
+#endif
+
+
/* \addtogroup vty
* @{
* \file vty.c */