Mercurial > syslog2iptables
diff src/syslog2iptables.cpp @ 9:d76f9ff42487
initial coding
author | carl |
---|---|
date | Sat, 03 Dec 2005 13:54:47 -0800 |
parents | 276c4edc8521 |
children | 5dfe0138b4f9 |
line wrap: on
line diff
--- a/src/syslog2iptables.cpp Fri Dec 02 20:55:32 2005 -0800 +++ b/src/syslog2iptables.cpp Sat Dec 03 13:54:47 2005 -0800 @@ -23,20 +23,15 @@ // 3 - show files open/close // 1 - show config files loading -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - +#include "includes.h" #include <iostream> #include <cstdlib> #include <errno.h> #include <sysexits.h> -#include <unistd.h> #include <pthread.h> #include <syslog.h> #include <sys/wait.h> /* header for waitpid() and various macros */ #include <signal.h> /* header for signal functions */ -#include "includes.h" extern "C" { void sig_chld(int signo);