Eric Blake f403bdc189 build: fix build on BSD
A build on FreeBSD failed with:
util/virportallocator.c:108: error: storage size of 'addr' isn't known
util/virportallocator.c:123: error: 'INADDR_ANY' undeclared (first use in this function)

It turns out that while POSIX allows sockaddr_in to leak in through
<arpa/inet.h> (the way Linux does it), it is not mandatory, and
conforming applications are required to get it through <netinet/in.h>.

* src/util/virportallocator.c: Include header for struct
sockaddr_in.
* tests/virportallocatortest.c: Likewise.
2013-01-17 16:39:10 -07:00
..
2012-04-02 09:33:54 -06:00
2012-09-17 14:59:37 -04:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:49 +00:00
2012-12-21 11:17:13 +00:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2013-01-16 11:02:58 +00:00
2011-07-11 09:21:37 -06:00
2009-07-16 15:06:42 +02:00
2012-12-21 11:19:49 +00:00
2013-01-17 16:39:10 -07:00
2012-12-21 11:19:50 +00:00
2012-12-21 11:19:50 +00:00