blob: a7ae9bed3ddf0344b616f956486f9bdff858f8a7 (
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
50
51
52
53
54
55
56
57
58
59
60
|
https://bugs.gentoo.org/870898
--- a/src/align_columns.c
+++ b/src/align_columns.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
+#include <unistd.h>
/*============================================================================*/
/* SYMBOL DEFINITIONS */
--- a/src/align_comments.c
+++ b/src/align_comments.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
+#include <unistd.h>
/*===========================================================================*/
/* SYMBOL DEFINITIONS */
--- a/src/boxcomment.c
+++ b/src/boxcomment.c
@@ -59,6 +59,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <unistd.h>
/*============================================================================*/
/* SYMBOL DEFINITIONS */
--- a/src/expander.c
+++ b/src/expander.c
@@ -114,6 +114,7 @@
#include <string.h>
#include <time.h>
#include <ctype.h>
+#include <unistd.h>
/*==========================================================================*/
/* MACRO DEFINITIONS */
@@ -1264,7 +1265,7 @@ bool_t locate_definition(
bool_t ignore_definition = FALSE;
int i;
char line[ MAXBUF ];
- static level = 0;
+ static int level = 0;
/*---------------------
* Recursion protection.
--- a/src/where_is.c
+++ b/src/where_is.c
@@ -54,6 +54,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <unistd.h>
typedef int bool_t;
|