freebsd-ports/databases/freetds-devel/files/patch-src_tds_tls.c

14 lines
307 B
C
Raw Normal View History

--- src/tds/tls.c.orig 2015-05-16 09:00:33 UTC
+++ src/tds/tls.c
@@ -46,6 +46,10 @@
#include <sys/stat.h>
#endif /* HAVE_SYS_STAT_H */
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <sys/socket.h>
+#endif
+
#include <freetds/tds.h>
#include <freetds/string.h>
#include <freetds/tls.h>