Commit 9a727082 authored by Mark Andrews's avatar Mark Andrews

2318. [port] sunos fixes for libbind. [RT #17514]

parent fc53f564
2319. [bug] Silence Coverity warnings in 2319. [bug] Silence Coverity warnings in
lib/dns/rdata/in_1/apl_42.c. [RT #17469] lib/dns/rdata/in_1/apl_42.c. [RT #17469]
2318. [port] ISC_PLATFORM_NEEDTIMESPEC missing from 2318. [port] sunos fixes for libbind. [RT #17514]
lib/bind/config.h.in. [RT #17514]
2317. [bug] "make distclean" removed bind9.xsl.h. [RT #17518] 2317. [bug] "make distclean" removed bind9.xsl.h. [RT #17518]
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#undef POSIX_GETGRNAM_R #undef POSIX_GETGRNAM_R
#undef HAVE_MEMMOVE #undef HAVE_MEMMOVE
#undef HAVE_MEMCHR #undef HAVE_MEMCHR
#undef ISC_PLATFORM_NEEDTIMESPEC
#undef NEED_SETGROUPENT #undef NEED_SETGROUPENT
#undef NEED_GETGROUPLIST #undef NEED_GETGROUPLIST
......
This diff is collapsed.
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
AC_REVISION($Revision: 1.128 $) AC_REVISION($Revision: 1.129 $)
AC_INIT(resolv/herror.c) AC_INIT(resolv/herror.c)
AC_PREREQ(2.13) AC_PREREQ(2.13)
...@@ -2675,6 +2675,7 @@ AC_OUTPUT( ...@@ -2675,6 +2675,7 @@ AC_OUTPUT(
port/Makefile port/Makefile
${PORT_DIR}/Makefile ${PORT_DIR}/Makefile
${PORT_INCLUDE}/Makefile ${PORT_INCLUDE}/Makefile
include/isc/platform.h
) )
# Tell Emacs to edit this file in shell mode. # Tell Emacs to edit this file in shell mode.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.6 2007/06/19 23:47:13 tbox Exp $ # $Id: Makefile.in,v 1.7 2008/01/23 02:00:56 marka Exp $
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
...@@ -24,7 +24,7 @@ HEADERS=fd_setsize.h hesiod.h irp.h irs.h netdb.h netgroup.h res_update.h \ ...@@ -24,7 +24,7 @@ HEADERS=fd_setsize.h hesiod.h irp.h irs.h netdb.h netgroup.h res_update.h \
AHEADERS= arpa/inet.h arpa/nameser.h arpa/nameser_compat.h AHEADERS= arpa/inet.h arpa/nameser.h arpa/nameser_compat.h
IHEADERS= isc/assertions.h isc/ctl.h isc/dst.h isc/eventlib.h isc/heap.h \ IHEADERS= isc/assertions.h isc/ctl.h isc/dst.h isc/eventlib.h isc/heap.h \
isc/irpmarshall.h isc/list.h isc/logging.h isc/memcluster.h \ isc/irpmarshall.h isc/list.h isc/logging.h isc/memcluster.h \
isc/misc.h isc/tree.h isc/misc.h isc/tree.h isc/platform.h.in
all: all:
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
/* eventlib.h - exported interfaces for eventlib /* eventlib.h - exported interfaces for eventlib
* vix 09sep95 [initial] * vix 09sep95 [initial]
* *
* $Id: eventlib.h,v 1.5 2005/07/28 06:51:47 marka Exp $ * $Id: eventlib.h,v 1.6 2008/01/23 02:00:56 marka Exp $
*/ */
#ifndef _EVENTLIB_H #ifndef _EVENTLIB_H
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <sys/time.h> #include <sys/time.h>
#include <stdio.h> #include <stdio.h>
#include <isc/platform.h>
#ifndef __P #ifndef __P
# define __EVENTLIB_P_DEFINED # define __EVENTLIB_P_DEFINED
# ifdef __STDC__ # ifdef __STDC__
......
/*
* Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: platform.h.in,v 1.2 2008/01/23 02:00:56 marka Exp $ */
/*! \file */
#ifndef ISC_PLATFORM_H
#define ISC_PLATFORM_H
/*
* Define if the OS does not define struct timespec.
*/
@ISC_PLATFORM_NEEDTIMESPEC@
#ifdef ISC_PLATFORM_NEEDTIMESPEC
#include <time.h> /* For time_t */
struct timespec {
time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
};
#endif
#endif
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: port_after.h.in,v 1.53 2007/06/18 23:47:34 tbox Exp $ */ /* $Id: port_after.h.in,v 1.54 2008/01/23 02:00:56 marka Exp $ */
#ifndef port_after_h #ifndef port_after_h
#define port_after_h #define port_after_h
...@@ -55,6 +55,13 @@ ...@@ -55,6 +55,13 @@
@USE_IFNAMELINKID@ @USE_IFNAMELINKID@
@PORT_NONBLOCK@ @PORT_NONBLOCK@
#ifndef _POSIX_PATH_MAX
#define _POSIX_PATH_MAX 255
#endif
#ifndef PATH_MAX
#define PATH_MAX _POSIX_PATH_MAX
#endif
/* /*
* We need to know the IPv6 address family number even on IPv4-only systems. * We need to know the IPv6 address family number even on IPv4-only systems.
* Note that this is NOT a protocol constant, and that if the system has its * Note that this is NOT a protocol constant, and that if the system has its
......
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