ongrep

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

commit 00db1b5e41bd2d26a6d35dbeb51bbbe08f62e72f
parent ad89f91bb6120d632070307f3df92d20c31f95d9
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date:   Sun, 14 Jun 2020 18:18:25 +1000

Clean headers using include-what-you-use

A thorough inspection for what's needed will be done later.

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

diff --git a/ngrep.c b/ngrep.c @@ -7,15 +7,14 @@ */ #include <sys/ioctl.h> #include <sys/socket.h> -#include <sys/tty.h> +#include <sys/time.h> +#include <sys/ttycom.h> #include <sys/types.h> -#include <net/if.h> #include <netinet/in.h> #include <net/ethertypes.h> #include <netinet/icmp6.h> #include <netinet/igmp.h> -#include <netinet/in_systm.h> #include <netinet/ip.h> #include <netinet/ip6.h> #include <netinet/ip_icmp.h> @@ -25,15 +24,16 @@ #include <ctype.h> #include <errno.h> -#include <locale.h> #include <pcap.h> -#include <pwd.h> +#include <pcre.h> #include <signal.h> #include <stdint.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> +#include <time.h> #include <unistd.h> -#include <pcre.h> #include "ngrep.h"