[ovs-dev] [PATCH 11/18] include some headers to satisfy header file dependencies on NetBSD-6.

Ben Pfaff blp at nicira.com
Fri Feb 1 02:47:58 UTC 2013


On Fri, Feb 01, 2013 at 10:56:34AM +0900, YAMAMOTO Takashi wrote:
> hi,
> 
> > On Thu, Jan 31, 2013 at 07:49:45PM +0900, YAMAMOTO Takashi wrote:
> >> @@ -23,6 +23,7 @@
> >>  #include <netinet/in.h>
> >>  #include <stdbool.h>
> >>  #include "openvswitch/types.h"
> >> +#include <netinet/in_systm.h>
> >>  #include <netinet/ip.h>
> > 
> > This is the first I've ever heard of in_systm.h.  Is it a portable
> > header file?  It is not in SUSv4, although I do see it on my GNU/Linux
> > host.
> 
> i don't know.
> 
> i guess it's available on many of systems because it's ancient.

OK.

> NetBSD-6's ip.h requires in_systm.h included beforehand.
> i can put it in ifdef __NetBSD__ if you worry.

I was more curious than worried.  It's fine as-is, since it is easy to
fix later if it causes a problem.

Thanks,

Ben.


More information about the dev mailing list