Commit c4d29896 authored by Shane Kerr's avatar Shane Kerr
Browse files

Build fix for OS X Leopard (10.5).

See RT ticket #17406.
parent 9d11f122
......@@ -110,6 +110,8 @@ suggested fixes to <dhcp-users@isc.org>.
- Fixes to allow code to compile and run on Solaris 9.
- Fixes to allow code to compile on Mac OS X Leopard (10.5).
Changes since 4.0.0b3
- The reverse dns name for PTR updates on IPv6 addresses has been fixed to
......
......@@ -56,12 +56,14 @@
/*
* @(#)resolv.h 8.1 (Berkeley) 6/2/93
* $Id: resolv.h,v 1.4 2005/03/17 20:15:15 dhankins Exp $
* $Id: resolv.h,v 1.5 2008/01/11 14:00:06 shane Exp $
*/
#ifndef _RESOLV_H_
#define _RESOLV_H_
#include <sys/types.h>
/*
* This used to be defined in res_query.c, now it's in herror.c.
* [XXX no it's not. It's in irs/irs_data.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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment