freebsd-ports/security/putty/files/patch-uxnet.c
Dirk Meyer 4d3b1de9f7 PuTTY is a client program for the SSH, Telnet and Rlogin network protocols.
These protocols are all used to run a remote session on a computer,
over a network. PuTTY implements the client end of that session:
the end at which the session is displayed, rather than the end
at which it runs.

WWW: http://www.chiark.greenend.org.uk/~sgtatham/putty/
2004-02-13 17:45:39 +00:00

16 lines
352 B
C

--- uxnet.c.orig Tue Feb 3 15:47:43 2004
+++ uxnet.c Fri Feb 13 14:19:00 2004
@@ -11,8 +11,13 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#else
#include <arpa/inet.h>
#include <netinet/in.h>
+#endif
#include <netinet/tcp.h>
#include <netdb.h>