summaryrefslogtreecommitdiff
path: root/common/socket.c
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2007-05-11 15:50:18 +0000
committerDavid Hankins <dhankins@isc.org>2007-05-11 15:50:18 +0000
commita512d11b6d1996e1bb023f79ad00d3e04f212736 (patch)
tree0f42267de416888f521ecec5b62832cac00a6872 /common/socket.c
parent98bd7ca0990e6d88e3345d3bc966ebe8216691a7 (diff)
downloadisc-dhcp-a512d11b6d1996e1bb023f79ad00d3e04f212736.tar.gz
- Corrected some situations where variables might be used without being
initialized. [ISC-Bugs #16865] - Silenced several other compiler warnings. [ISC-Bugs #16865] - Include the more standard sys/uio.h rather than rely upon other header files to include it (fixes a BSDI compile failure). [ISC-Bugs #16865]
Diffstat (limited to 'common/socket.c')
-rw-r--r--common/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/socket.c b/common/socket.c
index 91ee49de..de322d41 100644
--- a/common/socket.c
+++ b/common/socket.c
@@ -42,11 +42,12 @@
#ifndef lint
static char copyright[] =
-"$Id: socket.c,v 1.60 2007/05/08 23:05:20 dhankins Exp $ "
+"$Id: socket.c,v 1.61 2007/05/11 15:50:18 dhankins Exp $ "
"Copyright (c) 2004-2006 Internet Systems Consortium.\n";
#endif /* not lint */
#include "dhcpd.h"
+#include <sys/uio.h>
#ifdef USE_SOCKET_FALLBACK
# if !defined (USE_SOCKET_SEND)