[build] Enable building with the Intel C compiler (icc)

This commit is contained in:
Michael Brown
2009-03-10 17:50:01 +00:00
parent 16aa435567
commit 1c67623e37
13 changed files with 363 additions and 37 deletions

View File

@@ -238,7 +238,7 @@ static int udp_tx ( struct udp_connection *udp, struct io_buffer *iobuf,
* @ret udp UDP connection, or NULL
*/
static struct udp_connection * udp_demux ( struct sockaddr_tcpip *local ) {
static const struct sockaddr_tcpip empty_sockaddr;
static const struct sockaddr_tcpip empty_sockaddr = { .pad = { 0, } };
struct udp_connection *udp;
list_for_each_entry ( udp, &udp_conns, list ) {