You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2014/01/03 17:18:56 UTC

[jira] [Commented] (TS-2473) missing include prevents compiling on FreeBSD

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

James Peach commented on TS-2473:
---------------------------------

This patch doesn't make any sense. It's best to use {{git diff > ts-2773.patch}} to generate the patch.

Adding the extra includes for FreeBSD is fine though and I'll merge a patch for that. We do have a FreeBSD buildbot <https://ci.trafficserver.apache.org/computer/freebsd_9.1_x64>, not sure why that works if this is a problem.

> missing include prevents compiling on FreeBSD
> ---------------------------------------------
>
>                 Key: TS-2473
>                 URL: https://issues.apache.org/jira/browse/TS-2473
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Radim Kolar
>         Attachments: patch-utilsh
>
>
> struct sockaddr is defined in #include <netinet/in.h> 
> FreeBSD do not auto include it drop arpa/in.h like Linux.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)