Re: daemon.c broken on OpenBSD
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Oct 25, 2005, 23:29 UTC
- Message-ID
- <86vezljhve.fsf@blue.stonehenge.com>
- In-Reply-To
- <7v64rnsd83.fsf@assigned-by-dhcp.cox.net>
I can confirm that the following patch lets the current origin compile on OpenBSD. If you could apply this until you sort out the rest of the namespace issue, I would be happy. Thanks.
diff --git a/daemon.c b/daemon.c index 0c6182f..c3f8641 100644 --- a/daemon.c +++ b/daemon.c @@ -1,5 +1,3 @@ -#include "cache.h" -#include "pkt-line.h" #include <signal.h> #include <sys/wait.h> #include <sys/socket.h> @@ -9,6 +7,8 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <syslog.h> +#include "pkt-line.h" +#include "cache.h" static int log_syslog; static int verbose;
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!