From 9cd8ba6aaf0f0e4decdb33b652dbdef43664d939 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 19 Jul 2006 08:39:50 +0000 Subject: INTEGRATION: CWS freebsd07 (1.32.8); FILE MERGED 2006/07/01 06:07:28 maho 1.32.8.1: #i65512# FreeBSD >= 700015 support.\n This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ. --- sal/osl/unx/system.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sal') diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h index 1febd701a638..84c407b61f28 100644 --- a/sal/osl/unx/system.h +++ b/sal/osl/unx/system.h @@ -4,9 +4,9 @@ * * $RCSfile: system.h,v $ * - * $Revision: 1.32 $ + * $Revision: 1.33 $ * - * last change: $Author: hr $ $Date: 2006-06-20 04:19:46 $ + * last change: $Author: kz $ $Date: 2006-07-19 09:39:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -537,8 +537,10 @@ extern struct spwd *getspnam_r(const char *name, struct spwd *result, struct tm *localtime_r(const time_t *timep, struct tm *buffer); struct tm *gmtime_r(const time_t *timep, struct tm *buffer); #endif /* !defined FREEBSD || (__FreeBSD_version < 500112) */ +#if !defined(FREEBSD) || (__FreeBSD_version < 700015) struct hostent *gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop); +#endif /* !defined(FREEBSD) || (__FreeBSD_version < 700015) */ #endif #endif /* __OSL_SYSTEM_H__ */ -- cgit