comparison src/syslog2iptables.cpp @ 44:9e9f09cf411c

Add fixes for Solaris from sm-archive.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 22 Mar 2008 10:58:24 -0700
parents d9ae11033b4b
children ba0259c9e411
comparison
equal deleted inserted replaced
43:f7e118192ee6 44:9e9f09cf411c
20 #include <sysexits.h> 20 #include <sysexits.h>
21 #include <pthread.h> 21 #include <pthread.h>
22 #include <syslog.h> 22 #include <syslog.h>
23 #include <sys/wait.h> /* header for waitpid() and various macros */ 23 #include <sys/wait.h> /* header for waitpid() and various macros */
24 #include <signal.h> /* header for signal functions */ 24 #include <signal.h> /* header for signal functions */
25
26 #ifndef HAVE_DAEMON
27 #include "daemon.h"
28 #include "daemon.c"
29 #endif
25 30
26 extern "C" { 31 extern "C" {
27 void sigchld(int sig); 32 void sigchld(int sig);
28 void sigterm(int sig); 33 void sigterm(int sig);
29 } 34 }