void-packages/srcpkgs/nilfs-utils/patches/max-input.patch

13 lines
206 B
Diff

--- ./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>