Fix ODBC compilation error on FreeBSD by adding netinet/in.h to #include macros

Kenji Rikitake <>
Wed Feb 10 09:11:35 CET 2010


git fetch git://github.com/jj1bdx/otp.git odbc_netinet

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.

This patch is originally taken from FreeBSD port patch files, by Giacomo Olgeni.
See
http://www.erlang.org/cgi-bin/ezmlm-cgi?3:mss:335:200811:hijljjocpmpkhgkhfkdl
for the details too

Regards,
Kenji Rikitake


More information about the erlang-bugs mailing list