Date: Wed, 18 Jan 2012 16:50:18 -0600 From: Martin McCormick <martin@dc.cis.okstate.edu> To: questions@freebsd.org Subject: Re: Sample getaddrinfo Code Compiles in Linux but not FreeBSD. Message-ID: <201201182250.q0IMoIlx046642@x.it.okstate.edu>
next in thread | raw e-mail | index | archive | help
Peter Andreev writes: > #include <netinet/in.h> Many thanks. That made the FreeBSD version work just as well. As soon as I saw netinet.h, I realized it wasn't in the original code as the Linux libraries apparently accomplish the same thing without that header. Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201182250.q0IMoIlx046642>