minit

A small yet feature-complete init (http://fefe.de/minit/)
Log | Files | Refs | README | LICENSE

commit e825daebf1ba85b18df827e7054ff3f4670b7ddd
parent 5f212c885e2b5371b93f200a39697aba2e5aad43
Author: leitner <leitner>
Date:   Tue, 20 May 2003 13:55:20 +0000

sys/fcntl.h -> fcntl.h

Diffstat:
Mminit.c | 2+-
Mmsvc.c | 2+-
Mopenreadclose.c | 3+--
Mpidfilehack.c | 2+-
4 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/minit.c b/minit.c @@ -1,7 +1,7 @@ #include <sys/types.h> #include <time.h> #include <string.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <unistd.h> #include <limits.h> #include <errno.h> diff --git a/msvc.c b/msvc.c @@ -1,4 +1,4 @@ -#include <sys/fcntl.h> +#include <fcntl.h> #include <sys/file.h> #include <signal.h> #include <stdio.h> diff --git a/openreadclose.c b/openreadclose.c @@ -1,7 +1,6 @@ #ifndef EMBEDDED #include <unistd.h> -#include <sys/fcntl.h> -#include <stdlib.h> +#include <fcntl.h> #endif int openreadclose(char *fn, char **buf, unsigned long *len) { diff --git a/pidfilehack.c b/pidfilehack.c @@ -1,7 +1,7 @@ #include <unistd.h> #include <errno.h> #include <stdlib.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <stdio.h> /* purpose: argv[1] is the full path to a PID file,