summaryrefslogtreecommitdiff
path: root/convert-objects.c
diff options
context:
space:
mode:
authorPatrick Mauritz <oxygene@studentenbude.ath.cx>2005-09-06 01:24:03 +0200
committerJunio C Hamano <junkio@cox.net>2005-09-07 22:08:28 -0700
commitf0ebff0dfebc667e5edf6f67d190fd960513ab66 (patch)
tree383cfd9f34d559c51bcd7d764e2fbbac5cb896b6 /convert-objects.c
parent215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7 (diff)
downloadgit-f0ebff0dfebc667e5edf6f67d190fd960513ab66.tar.gz
[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>
Diffstat (limited to 'convert-objects.c')
-rw-r--r--convert-objects.c1
1 files changed, 1 insertions, 0 deletions
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 <time.h>
#include <ctype.h>
#include "cache.h"