freebsd-ports/audio/mpiosh/files/patch-mpiosh-callback.c
Pav Lucistnik 79487704b8 Add mpiosh, a userland library and command-line tool
for Digitalway MPIO MP3 players.

PR:		ports/56258
Submitted by:	Sergey Akifyev <asa@gascom.ru>
2003-12-07 14:14:21 +00:00

17 lines
335 B
C

--- mpiosh/callback.c.orig Thu Jun 19 19:51:43 2003
+++ mpiosh/callback.c Thu Jun 19 19:52:29 2003
@@ -29,11 +29,14 @@
#include <regex.h>
#include <time.h>
#include <unistd.h>
+#include <limits.h>
#include "mpiosh.h"
#include "command.h"
#include "libmpio/debug.h"
+
+#define NAME_MAX PATH_MAX
/* commands */
void