openbsd-ports/net/udptunnel/patches/patch-host2ip_c
jasper 2d78da9f4b - fix potential 64-bit issue
- remove bogus ${VERSION} variable
- specify license
- regen DESCR/PLIST

ok jakob@ (MAINTAINER), although he wouldn't mind it if someone takes it over
2008-12-10 22:33:37 +00:00

12 lines
430 B
Plaintext

$OpenBSD: patch-host2ip_c,v 1.1 2008/12/10 22:33:37 jasper Exp $
--- host2ip.c.orig Mon Dec 1 20:30:05 2008
+++ host2ip.c Mon Dec 1 20:30:16 2008
@@ -1,6 +1,7 @@
#include <sys/types.h>
#include <sys/socket.h> /* struct sockaddr */
#include <stdlib.h>
+#include <string.h>
#include <netdb.h> /* gethostbyname() */
#include <netinet/in.h> /* sockaddr_in */
#include <arpa/inet.h> /* inet_addr() */