summaryrefslogtreecommitdiffstats
path: root/package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch')
-rw-r--r--package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch b/package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch
new file mode 100644
index 0000000000..c92e2280e9
--- /dev/null
+++ b/package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch
@@ -0,0 +1,10 @@
+--- a/util/subst.c
++++ b/util/subst.c
+@@ -9,6 +9,7 @@
+ #include "config.h"
+ #else
+ #define HAVE_SYS_TIME_H
++#define HAVE_SYS_STAT_H
+ #endif
+ #include <stdio.h>
+ #include <errno.h>