openbsd-ports/net/udptunnel/patches/patch-host2ip_c

12 lines
430 B
Plaintext
Raw Normal View History

$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() */