On Thu, Mar 13, 2014 at 8:49 AM, Ben Pfaff <b...@nicira.com> wrote: > On Wed, Mar 12, 2014 at 11:21:23AM -0700, Gurucharan Shetty wrote: >> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com> > > Does Windows get a definition of "struct sockaddr" from somewhere else, > then? I'm surprised that this header doesn't need to #include whatever > that header is.
"struct sockaddr" comes from winsock2.h and is: struct sockaddr { unsigned short sa_family; char sa_data[14]; }; (Ref: http://msdn.microsoft.com/en-us/library/44a349sc.aspx) It looks like "sa_family_t" is not defined anywhere in the headers and hence I have to typedef it. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev