diff options
author | Shane Kerr <shane@isc.org> | 2008-01-11 14:00:06 +0000 |
---|---|---|
committer | Shane Kerr <shane@isc.org> | 2008-01-11 14:00:06 +0000 |
commit | c4d29896d33a7df17d7f8ec7383dff1f6b2161f0 (patch) | |
tree | fb3e819bc423f40d166a1a74886ff08ec6247f8b /minires | |
parent | 9d11f122c095e9e23777c014fc86d4eb5d669ee8 (diff) | |
download | isc-dhcp-c4d29896d33a7df17d7f8ec7383dff1f6b2161f0.tar.gz |
Build fix for OS X Leopard (10.5).
See RT ticket #17406.
Diffstat (limited to 'minires')
-rw-r--r-- | minires/res_send.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/minires/res_send.c b/minires/res_send.c index 31641e5e..ab9d089f 100644 --- a/minires/res_send.c +++ b/minires/res_send.c @@ -76,10 +76,24 @@ #if defined(LIBC_SCCS) && !defined(lint) static const char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93"; -static const char rcsid[] = "$Id: res_send.c,v 1.8 2005/03/17 20:15:19 dhankins Exp $"; +static const char rcsid[] = "$Id: res_send.c,v 1.9 2008/01/11 14:00:06 shane Exp $"; #endif /* LIBC_SCCS and not lint */ /* Rename the I/O functions in case we're tracing. */ +#include <omapip/omapip_p.h> + +ssize_t trace_mr_send(int, const void *, size_t, int); +ssize_t trace_mr_recvfrom(int s, void *, size_t, int, + struct sockaddr *, socklen_t *); +ssize_t trace_mr_read(int, void *, size_t); +int trace_mr_connect(int s, struct sockaddr *, socklen_t); +int trace_mr_socket(int, int, int); +int trace_mr_bind(int, struct sockaddr *, socklen_t); +int trace_mr_close(int); +time_t trace_mr_time(time_t *); +int trace_mr_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); +unsigned int trace_mr_res_randomid(unsigned int); + #define send trace_mr_send #define recvfrom trace_mr_recvfrom #define read trace_mr_read |