From: Ramsay Allan Jones Date: Sun, 30 Jul 2006 16:00:40 +0000 (+0100) Subject: Fix header breakage due to redefining PATH_MAX. X-Git-Tag: v1.4.2-rc3~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8e76483ce0ce256b01345abc4ca97b1f94aed354;p=git.git 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 --- diff --git a/builtin.h b/builtin.h index 1c8637ae2..88c4d8471 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[];