aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKenji Rikitake <[email protected]>2010-02-10 17:04:01 +0859
committerKenji Rikitake <[email protected]>2010-02-10 17:04:01 +0859
commit5c6be091f845c5cff62ee93907fe308db9903539 (patch)
treec0f71755c3454a81460458b63861566ae5c5e0d6 /lib
parent7457122ad3aa8dccb5439d3e430c93fe6ca2654e (diff)
downloadotp-5c6be091f845c5cff62ee93907fe308db9903539.tar.gz
otp-5c6be091f845c5cff62ee93907fe308db9903539.tar.bz2
otp-5c6be091f845c5cff62ee93907fe308db9903539.zip
Fix ODBC compilation error on FreeBSD by adding netinet/in.h to #include macros
This fix modifies lib/odbc/c_src_odbcserver.c This has been tested on FreeBSD port, and will not affect Linux.
Diffstat (limited to 'lib')
-rw-r--r--lib/odbc/c_src/odbcserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/odbc/c_src/odbcserver.c b/lib/odbc/c_src/odbcserver.c
index 63177121bc..aafdffa4a1 100644
--- a/lib/odbc/c_src/odbcserver.c
+++ b/lib/odbc/c_src/odbcserver.c
@@ -119,6 +119,7 @@
#include <sys/socket.h>
#include <sys/uio.h>
#include <netdb.h>
+#include <netinet/in.h>
#endif
#include <limits.h>