summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/findutils/files/findutils-4.3.8-gnulib-stddef.patch')
-rw-r--r--sys-apps/findutils/files/findutils-4.3.8-gnulib-stddef.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-apps/findutils/files/findutils-4.3.8-gnulib-stddef.patch b/sys-apps/findutils/files/findutils-4.3.8-gnulib-stddef.patch
new file mode 100644
index 000000000000..1f17bea5b50c
--- /dev/null
+++ b/sys-apps/findutils/files/findutils-4.3.8-gnulib-stddef.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/197326
+
+2007-06-10 Bruno Haible <bruno@clisp.org>
+
+ * lib/mbiter.h: Include <stddef.h>, needed for ptrdiff_t.
+ * lib/mbuiter.h: Likewise.
+
+diff --git a/gnulib/lib/mbuiter.h b/gnulib/lib/mbuiter.h
+index e6ad488..c4ceddb 100644
+--- a/gnulib/lib/mbuiter.h
++++ b/gnulib/lib/mbuiter.h
+@@ -92,6 +92,7 @@
+
+ #include <assert.h>
+ #include <stdbool.h>
++#include <stddef.h>
+ #include <stdlib.h>
+ #include <string.h>
+