31 lines
644 B
Diff
31 lines
644 B
Diff
|
--- chklastlog.c
|
||
|
+++ 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>
|
||
|
--- chkproc.c
|
||
|
+++ 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>
|
||
|
--- chkwtmp.c
|
||
|
+++ 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>
|