--- 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);