mailru/tarantool-php — pull request #1 by zloidemon (2013-05-13 12:17:06+00:00)
Title: FreeBSD: build fix

Fixed build on FreeBSD.

cc -I. -I/wrkdirs/php5-tarantool/work/zloidemon-tarantool-php-e888432 -DPHP_ATOM_INC -I/wrkdirs/php5-tarantool/work/zloidemon-tarantool-php-e888432/include -I/wrkdirs/php5-tarantool/work/zloidemon-tarantool-php-e888432/main -I/wrkdirs/php5-tarantool/work/zloidemon-tarantool-php-e888432 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/src -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /wrkdirs/php5-tarantool/work/zloidemon-tarantool-php-e888432/src/tarantool.c -fPIC -DPIC -o src/.libs/tarantool.o
In file included from /wrkdirs/php5-tarantool/work/zloidemon-tarantool-php-e888432/src/tarantool.c:26:
/usr/include/netinet/tcp.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tcp_seq'
/usr/include/netinet/tcp.h:50: error: expected specifier-qualifier-list before 'u_short'
/usr/include/netinet/tcp.h:175: error: expected specifier-qualifier-list before 'u_int8_t'
*** Error code 1