From 452ddd94ba22bebe0fda5ee6a7ddceae2057fe40 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Nov 2004 02:01:04 +0000 Subject: r3450: portability fixes - fix rep_inet_ntoa() for IRIX - lib/signal.c needs system/wait.h - some systems define a macro "accept", which breaks the lib/socket/ structures. use fn_ as a prefix for the structure elements to avoid the problem (This used to be commit ced1a0fcdc8d8e47755ce4391c19f8b12862eb60) --- source4/include/system/network.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/include/system') diff --git a/source4/include/system/network.h b/source4/include/system/network.h index fcee0f7c24..8b9fe0bcc5 100644 --- a/source4/include/system/network.h +++ b/source4/include/system/network.h @@ -58,3 +58,7 @@ #endif +#ifdef REPLACE_INET_NTOA +#define inet_ntoa rep_inet_ntoa +#endif + -- cgit