openbsd-ports/databases/freetds/patches/patch-include_tds_h
sthen 397e66739a update to 20110223 upstream patchset
- backported fix for server_host_name setting in odbc
2011-03-24 12:51:19 +00:00

14 lines
376 B
Plaintext

$OpenBSD: patch-include_tds_h,v 1.2 2011/03/24 12:51:19 sthen Exp $
--- include/tds.h.orig Sat Mar 5 21:58:00 2011
+++ include/tds.h Sat Mar 5 21:58:01 2011
@@ -27,6 +27,9 @@
#include <stdio.h>
#include <time.h>
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif /* HAVE_NET_INET_IN_H */
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif /* HAVE_ARPA_INET_H */