freebsd-ports/www/gopherus/files/patch-net_net-bsd.c
Tobias Kortkamp 8ae75e7cea New port: www/gopherus
Gopherus is a free, multiplatform, console-mode gopher client that
provides a classic text interface to the gopherspace.

WWW: http://gopherus.sourceforge.net/
2020-05-09 12:20:57 +00:00

10 lines
322 B
C

--- net/net-bsd.c.orig 2020-05-09 11:36:10 UTC
+++ net/net-bsd.c
@@ -20,6 +20,7 @@
#include <sys/socket.h> /* socket() */
#include <sys/select.h> /* select(), fd_set() */
#include <arpa/inet.h>
+ #include <netinet/in.h>
#include <netdb.h>
#include <unistd.h> /* close() */
#define CLOSESOCK(x) close(x)