From 8e76483ce0ce256b01345abc4ca97b1f94aed354 Mon Sep 17 00:00:00 2001 From: Ramsay Allan Jones Date: Sun, 30 Jul 2006 17:00:40 +0100 Subject: Fix header breakage due to redefining PATH_MAX. The header builtin.h was, incorrectly, redefining PATH_MAX which causes a header order dependency in builtin-write-tree.c. The fix is to simply include directly to obtain the correct definition of PATH_MAX. Signed-off-by: Ramsay Allan Jones Signed-off-by: Junio C Hamano --- builtin.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'builtin.h') diff --git a/builtin.h b/builtin.h index 1c8637ae22..88c4d84712 100644 --- a/builtin.h +++ b/builtin.h @@ -2,10 +2,7 @@ #define BUILTIN_H #include - -#ifndef PATH_MAX -# define PATH_MAX 4096 -#endif +#include extern const char git_version_string[]; -- cgit v1.2.1