diff options
Diffstat (limited to 'net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch')
-rw-r--r-- | net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch b/net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch new file mode 100644 index 000000000000..9cb62b8e5a1e --- /dev/null +++ b/net-dialup/mgetty/files/mgetty-1.1.35-implicit-decl.patch @@ -0,0 +1,22 @@ +diff -Nru mgetty-1.1.35.orig/t/t_ring.c mgetty-1.1.35/t/t_ring.c +--- mgetty-1.1.35.orig/t/t_ring.c 2005-03-23 11:56:21.000000000 +0200 ++++ mgetty-1.1.35/t/t_ring.c 2007-04-15 11:46:45.000000000 +0300 +@@ -24,6 +24,7 @@ + + #include "mgetty.h" + #include <stdio.h> ++#include <string.h> + #include <signal.h> + #include <errno.h> + #ifdef T_LOG_VERBOSE +diff -Nru mgetty-1.1.35.orig/tools/microcom.c mgetty-1.1.35/tools/microcom.c +--- mgetty-1.1.35.orig/tools/microcom.c 2005-02-27 14:10:52.000000000 +0200 ++++ mgetty-1.1.35/tools/microcom.c 2007-04-15 11:47:17.000000000 +0300 +@@ -6,6 +6,7 @@ + * + * Calls routines in io.c, tio.c + */ ++#include <stdlib.h> + #include <stdio.h> + #include <fcntl.h> + #include <unistd.h> |