summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch')
-rw-r--r--sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch b/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch
new file mode 100644
index 000000000000..df57412b74cf
--- /dev/null
+++ b/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch
@@ -0,0 +1,15 @@
+See https://bugs.gentoo.org/649168
+
+Patch by: Matt Whitlock <gentoo@mattwhitlock.name>
+
+diff -Naur a/tools/fibmap.c b/tools/fibmap.c
+--- a/tools/fibmap.c 2018-03-01 00:09:24.861919778 +0000
++++ b/tools/fibmap.c 2018-03-01 17:31:48.854604556 +0000
+@@ -15,6 +15,7 @@
+ #ifndef O_LARGEFILE
+ #define O_LARGEFILE 0
+ #endif
++#include "config.h"
+ #include <unistd.h>
+ #include <string.h>
+ #include <stdlib.h>