Bug 74957

Summary: include <netinet/in.h> for IPPROTO_*
Product: Farstream Reporter: Allison Lortie (desrt) <desrt>
Component: Raw UDP transmitterAssignee: Olivier CrĂȘte <olivier.crete>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Attachments: include <netinet/in.h> for IPPROTO_*

Description Allison Lortie (desrt) 2014-02-14 03:06:18 UTC

    
Comment 1 Allison Lortie (desrt) 2014-02-14 03:06:50 UTC
Created attachment 94039 [details] [review]
include <netinet/in.h> for IPPROTO_*

POSIX says that we need <netinet/in.h> for IPPROTO_* to be defined, so
make sure we include it.

It also ensures that we get a definition of 'struct sockaddr' which
appears in the rawudp header as an argument type.
Comment 2 Olivier CrĂȘte 2014-02-14 20:01:23 UTC
Pushed, thanks

commit 8b99315a911e82aaaac31566c33d0a2d7f3483b1
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Thu Feb 13 22:03:09 2014 -0500

    transmitters: include <netinet/in.h> for IPPROTO_*
    
    POSIX says that we need <netinet/in.h> for IPPROTO_* to be defined, so
    make sure we include it.
    
    It also ensures that we get a definition of 'struct sockaddr' which
    appears in the rawudp header as an argument type.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.