Bug 74957 - include <netinet/in.h> for IPPROTO_*
Summary: include <netinet/in.h> for IPPROTO_*
Status: RESOLVED FIXED
Alias: None
Product: Farstream
Classification: Unclassified
Component: Raw UDP transmitter (show other bugs)
Version: unspecified
Hardware: Other FreeBSD
: medium normal
Assignee: Olivier Crête
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-14 03:06 UTC by Allison Lortie (desrt)
Modified: 2014-02-14 20:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
include <netinet/in.h> for IPPROTO_* (1.36 KB, patch)
2014-02-14 03:06 UTC, Allison Lortie (desrt)
Details | Splinter Review

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.