ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit d7fb92eec8c7c9dbb9d89adb863d96c6c79dc6c7
parent 47bc122624957041131ec9db63fe50c6a15da1a6
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Sun, 20 Feb 2005 05:48:18 +0000

move back USE_PCRE block after config.h include, that's where USE_PCRE is set

Diffstat:
Mngrep.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ngrep.c b/ngrep.c @@ -74,16 +74,16 @@ #include <pcap.h> +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #if USE_PCRE #include "pcre-5.0/pcre.h" #else #include "regex-0.12/regex.h" #endif -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "ngrep.h"