freebsd-ports/databases/mysql++3/files/patch-lib__tcp_connection.cpp
Ion-Mihai Tetcu 21d3c3e73f MySQL++ is a C++ wrapper for MySQL's C API.
It is built around STL principles, to make dealing with
the database as easy as dealing with an STL container.

This port contains the version 3 of the library; see databases/mysql++ and
databases/mysql++1 for the older versions.

WWW: http://tangentsoft.net/mysql++/
2008-04-05 11:54:42 +00:00

10 lines
276 B
C++

--- ./lib/tcp_connection.cpp.orig 2008-03-23 08:50:35.000000000 +0200
+++ ./lib/tcp_connection.cpp 2008-04-03 23:34:01.000000000 +0300
@@ -30,6 +30,7 @@
#include "exceptions.h"
#if !defined(MYSQLPP_PLATFORM_WINDOWS)
+# include <arpa/inet.h>
# include <netdb.h>
#endif