blob: 26ab42c0e4378882bd3bbf6118db5decf61085ab (
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
|
--- a/chklastlog.c
+++ b/chklastlog.c
@@ -41,6 +41,7 @@ int main () { return 0; }
#include <stdlib.h>
#endif
#include <sys/stat.h>
+#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
--- a/chkproc.c
+++ b/chkproc.c
@@ -62,6 +62,7 @@ int main (){ return 0; }
#include <string.h>
#include <errno.h>
#include <sys/types.h>
+#include <fcntl.h>
#include <dirent.h>
#include <ctype.h>
#include <stdlib.h>
--- a/chkwtmp.c
+++ b/chkwtmp.c
@@ -25,6 +25,7 @@ int main () { return 0; }
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <fcntl.h>
#include <string.h>
#include <utmp.h>
#include <time.h>
|