[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 <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
215a7ad1ef
commit
f0ebff0dfe
@ -1,4 +1,5 @@
|
||||
#define _XOPEN_SOURCE /* glibc2 needs this */
|
||||
#define __EXTENSIONS__ /* solaris needs this */
|
||||
#include <time.h>
|
||||
#include <ctype.h>
|
||||
#include "cache.h"
|
||||
|
Reference in New Issue
Block a user