From 3a854764c9fe5ce324c1f14fd70fc84bd8cfad27 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 1 Jul 1997 13:30:55 +0000 Subject: Fix Roidl's problem. svn path=/trunk/; revision=1128 --- daemon.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'daemon.c') diff --git a/daemon.c b/daemon.c index 4d159257..2bf69682 100644 --- a/daemon.c +++ b/daemon.c @@ -11,7 +11,12 @@ #include #include #include -#include /* Solaris 2.5 requires this */ +#ifdef HAVE_FCNTL_H +#include +#endif /* HAVE_FCNTL_H */ +#ifdef HAVE_SYS_FCNTL_H +#include +#endif /* HAVE_SYS_FCNTL_H */ #include /* get umask(2) prototyped */ #if defined(HAVE_UNISTD_H) -- cgit v1.2.3