aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/nilfs-utils/max-input.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/nilfs-utils/max-input.patch')
-rw-r--r--unmaintained/nilfs-utils/max-input.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/unmaintained/nilfs-utils/max-input.patch b/unmaintained/nilfs-utils/max-input.patch
new file mode 100644
index 0000000000..5241ea55c0
--- /dev/null
+++ b/unmaintained/nilfs-utils/max-input.patch
@@ -0,0 +1,12 @@
+--- ./bin/rmcp.c.orig
++++ ./bin/rmcp.c
+@@ -51,6 +51,9 @@
+ #include "nilfs.h"
+ #include "parser.h"
+
++#ifndef MAX_INPUT
++#define MAX_INPUT _POSIX_MAX_INPUT
++#endif
+
+ #ifdef _GNU_SOURCE
+ #include <getopt.h>