MAXPATHLEN set if not defined

Change-Id: I1dce8ace228814b5a7246a00b31309ab9461d266
This commit is contained in:
Ruben Undheim 2018-11-18 13:02:47 +01:00 committed by laforge
parent e674c44c30
commit 766f77c3d9
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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 */