From a6da9395a5b6d3df901ce0a6cb61d123f77d7342 Mon Sep 17 00:00:00 2001 From: Jason Riedy Date: Tue, 6 Dec 2005 14:20:16 -0800 Subject: [PATCH] Initial AIX portability fixes. Added an AIX clause in the Makefile; that clause likely will be wrong for any AIX pre-5.2, but I can only test on 5.3. mailinfo.c was missing the compat header file, and convert-objects.c needs to define a specific _XOPEN_SOURCE as well as _XOPEN_SOURCE_EXTENDED. Signed-off-by: E. Jason Riedy Signed-off-by: Junio C Hamano --- convert-objects.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'convert-objects.c') diff --git a/convert-objects.c b/convert-objects.c index d78a8b4ae3..b49bce2681 100644 --- a/convert-objects.c +++ b/convert-objects.c @@ -1,4 +1,5 @@ -#define _XOPEN_SOURCE /* glibc2 needs this */ +#define _XOPEN_SOURCE 500 /* glibc2 and AIX 5.3L need this */ +#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */ #include #include "cache.h" -- cgit v1.2.1