diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-03-11 10:31:49 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-03-11 11:14:38 +0100 |
commit | a60d47f84b8ecf37c99af0c7c7ac942e05e3ee04 (patch) | |
tree | 6e2bbc3cce3334d7e8137a310372ccc88ea386dc | |
parent | 789e90fd600f9d36ed67eddb1ae15e183cc6cb75 (diff) |
vty/command.c: Build on systems that dont' defined BUFSIZ
.. such as Nuttx
-rw-r--r-- | src/vty/command.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vty/command.c b/src/vty/command.c index 44a1b6cb..a7f09d3c 100644 --- a/src/vty/command.c +++ b/src/vty/command.c @@ -40,6 +40,10 @@ Boston, MA 02111-1307, USA. */ #include <osmocom/core/talloc.h> +#ifndef BUFSIZ +#define BUFSIZ 512 +#endif + /*! \addtogroup command * @{ */ |