summaryrefslogtreecommitdiff
path: root/audio/mpiosh/files/patch-mpiosh_callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpiosh/files/patch-mpiosh_callback.c')
-rw-r--r--audio/mpiosh/files/patch-mpiosh_callback.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/mpiosh/files/patch-mpiosh_callback.c b/audio/mpiosh/files/patch-mpiosh_callback.c
new file mode 100644
index 000000000000..9acc206ac543
--- /dev/null
+++ b/audio/mpiosh/files/patch-mpiosh_callback.c
@@ -0,0 +1,18 @@
+--- mpiosh/callback.c.orig 2004-04-23 19:21:08 UTC
++++ mpiosh/callback.c
+@@ -31,12 +31,15 @@
+ #include <sys/stat.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
++
+ /* helper */
+ BYTE
+ mpiosh_ftype2ascii(BYTE ftype) {