summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/sharutils/files/sharutils-4.6.3-interix.patch')
-rw-r--r--app-arch/sharutils/files/sharutils-4.6.3-interix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-arch/sharutils/files/sharutils-4.6.3-interix.patch b/app-arch/sharutils/files/sharutils-4.6.3-interix.patch
new file mode 100644
index 000000000000..4421d342a0f4
--- /dev/null
+++ b/app-arch/sharutils/files/sharutils-4.6.3-interix.patch
@@ -0,0 +1,26 @@
+--- sharutils-4.6.3.orig/lib/inttostr.h
++++ sharutils-4.6.3/lib/inttostr.h
+@@ -26,6 +26,10 @@
+ # include <inttypes.h>
+ #endif
+
++#if HAVE_STDINT_H
++# include <stdint.h>
++#endif
++
+ #if HAVE_LIMITS_H
+ # include <limits.h>
+ #endif
+--- sharutils-4.6.3.orig/lib/system.h
++++ sharutils-4.6.3/lib/system.h
+@@ -24,6 +24,10 @@
+ # include <inttypes.h>
+ #endif
+
++#if HAVE_STDINT_H
++# include <stdint.h>
++#endif
++
+ #ifndef HAVE_INTMAX_T
+ #define HAVE_INTMAX_T
+ typedef long intmax_t;