diff options
author | Kenji Rikitake <[email protected]> | 2010-02-10 17:04:01 +0859 |
---|---|---|
committer | Kenji Rikitake <[email protected]> | 2010-02-10 17:04:01 +0859 |
commit | 5c6be091f845c5cff62ee93907fe308db9903539 (patch) | |
tree | c0f71755c3454a81460458b63861566ae5c5e0d6 | |
parent | 7457122ad3aa8dccb5439d3e430c93fe6ca2654e (diff) | |
download | otp-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.
-rw-r--r-- | lib/odbc/c_src/odbcserver.c | 1 |
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> |