diff options
Diffstat (limited to 'dev-util/poke/files/poke-4.1-missing-configure-include.patch')
-rw-r--r-- | dev-util/poke/files/poke-4.1-missing-configure-include.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/poke/files/poke-4.1-missing-configure-include.patch b/dev-util/poke/files/poke-4.1-missing-configure-include.patch new file mode 100644 index 000000000000..0131d7613358 --- /dev/null +++ b/dev-util/poke/files/poke-4.1-missing-configure-include.patch @@ -0,0 +1,20 @@ +See https://bugs.gentoo.org/935126 + +--- a/m4/printf.m4 ++++ b/m4/printf.m4 +@@ -894,6 +894,7 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_N], + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + #ifdef _MSC_VER + #include <inttypes.h> + /* See page about "Parameter Validation" on msdn.microsoft.com. +@@ -1708,6 +1709,7 @@ AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], + #include <signal.h> + #include <stdio.h> + #include <string.h> ++#include <unistd.h> + #if HAVE_SNPRINTF + # define my_snprintf snprintf + #else |