[ 
https://issues.apache.org/jira/browse/TS-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571229#comment-13571229
 ] 

ASF subversion and git services commented on TS-1683:
-----------------------------------------------------

Commit adc95534fbe54ba4b5c7b7adeddcdd058fc5cd8c from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=adc9553 ]

TS-1683: channel_stats doesn't compile under fBSD

We use the *right* include file this time around.
We also make a predesence for using ink_platform.h in a plugin.

This file should be installed to make plugin developers lives easier.

                
> channel_stats does not compile on FreeBSD
> -----------------------------------------
>
>                 Key: TS-1683
>                 URL: https://issues.apache.org/jira/browse/TS-1683
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>            Reporter: Daniel Gruno
>
> Output from gmake (using GCC 4.2.1):
> gmake[3]: Entering directory 
> `/root/trafficserver/plugins/experimental/channel_stats'
>   CXX    channel_stats.lo
> channel_stats.cc: In function 'void handle_read_req(tsapi_cont*, 
> tsapi_httptxn*)':
> channel_stats.cc:321: error: invalid use of incomplete type 'struct 
> sockaddr_in'
> channel_stats.cc:284: error: forward declaration of 'struct sockaddr_in'
> channel_stats.cc:323: error: invalid use of incomplete type 'struct 
> sockaddr_in'
> channel_stats.cc:284: error: forward declaration of 'struct sockaddr_in'
> gmake[3]: *** [channel_stats.lo] Error 1
> Someone should fix this ;)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to