summaryrefslogtreecommitdiff
path: root/mgetty/mgetty-1.1.30/02-pending-fix-includes
blob: 8b27dddcd01c5cfecf88e5eeb1d9e8bdfd5f6731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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);