sacc

sacc(omys), simple console gopher client (mirror)
git clone https://git.parazyd.org/sacc
Log | Files | Refs | LICENSE

commit 1fa05223649af656df34cdcfa8f857c4ccb8954f
parent 20e00b45fb26bdf64473ef00cbf273d2c57cb8bb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun,  6 Aug 2017 16:21:24 +0200

add include for IPPROTO_TCP, fix build for FreeBSD

Diffstat:
Msacc.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sacc.c b/sacc.c @@ -2,12 +2,13 @@ #include <errno.h> #include <fcntl.h> #include <netdb.h> +#include <netinet/in.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \ - defined(___FreeBSD__) + defined(__FreeBSD__) #include <sys/ioctl.h> #else #include <stropts.h>