From f0ebff0dfebc667e5edf6f67d190fd960513ab66 Mon Sep 17 00:00:00 2001 From: Patrick Mauritz Date: Tue, 6 Sep 2005 01:24:03 +0200 Subject: [PATCH] Portability fix for Solaris 10/x86 * getdomainname unavailable there. * needs -lsocket for linkage. * needs __EXTENSIONS__ at the beginning of convert-objects.c [JC: I've done this slightly differently from what Patrick originally sent to the list and dropped the bit that deals with installations that has curl header and library at non-default location. I am resisting the slipperly slope called autoconf.] Signed-off-by: Junio C Hamano --- convert-objects.c | 1 + 1 file changed, 1 insertion(+) (limited to 'convert-objects.c') diff --git a/convert-objects.c b/convert-objects.c index 9ad0c77678..073cab592f 100644 --- a/convert-objects.c +++ b/convert-objects.c @@ -1,4 +1,5 @@ #define _XOPEN_SOURCE /* glibc2 needs this */ +#define __EXTENSIONS__ /* solaris needs this */ #include #include #include "cache.h" -- cgit v1.2.1