laforge has submitted this change and it was merged. (
https://gerrit.osmocom.org/c/libosmocore/+/14797 )
Change subject: MAXPATHLEN set if not defined
......................................................................
MAXPATHLEN set if not defined
Change-Id: I1dce8ace228814b5a7246a00b31309ab9461d266
---
M src/vty/command.c
M src/vty/vty.c
2 files changed, 10 insertions(+), 0 deletions(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/vty/command.c b/src/vty/command.c
index 454a10c..35169eb 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -47,6 +47,11 @@
#include <osmocom/core/talloc.h>
#include <osmocom/core/utils.h>
+#ifndef MAXPATHLEN
+ #define MAXPATHLEN 4096
+#endif
+
+
/*! \addtogroup command
* @{
* VTY command handling
diff --git a/src/vty/vty.c b/src/vty/vty.c
index aa23fa0..babe0ef 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 */
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/14797
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1dce8ace228814b5a7246a00b31309ab9461d266
Gerrit-Change-Number: 14797
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Ruben Undheim <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-CC: pespin <[email protected]>
Gerrit-MessageType: merged