diff options
Diffstat (limited to 'recipes/mgetty/mgetty-1.1.30/02-pending-fix-includes')
-rw-r--r-- | recipes/mgetty/mgetty-1.1.30/02-pending-fix-includes | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes/mgetty/mgetty-1.1.30/02-pending-fix-includes b/recipes/mgetty/mgetty-1.1.30/02-pending-fix-includes new file mode 100644 index 0000000000..8b27dddcd0 --- /dev/null +++ b/recipes/mgetty/mgetty-1.1.30/02-pending-fix-includes @@ -0,0 +1,49 @@ +--- mgetty-1.1.27.orig/g3/g3cat.c ++++ mgetty-1.1.27/g3/g3cat.c +@@ -21,6 +21,7 @@ + #endif + #include <unistd.h> + #include <fcntl.h> ++#include <string.h> + + extern int optind; + extern char * optarg; +--- mgetty-1.1.27.orig/compat/newslock.c ++++ mgetty-1.1.27/compat/newslock.c +@@ -6,6 +6,7 @@ + * TAKEN UNMODIFIED FROM C-NEWS BY Geoffrey Collyer AND Henry Spencer + */ + #include <stdio.h> ++#include <stdlib.h> + #include <unistd.h> + + int +--- mgetty-1.1.27.orig/voice/libmgsm/code.c ++++ mgetty-1.1.27/voice/libmgsm/code.c +@@ -8,13 +8,14 @@ + + #include "config.h" + +- + #ifdef HAS_STDLIB_H + #include <stdlib.h> + #else + # include "proto.h" + extern char * memcpy P((char *, char *, int)); + #endif ++ ++#include <string.h> + + #include "private.h" + #include "gsm.h" +--- mgetty-1.1.27.orig/voice/libutil/test_wildmat.c ++++ mgetty-1.1.27/voice/libutil/test_wildmat.c +@@ -3,6 +3,8 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + + extern int wildmat(char *text, char *p, int length); + |