From c4ddb7f83ad92f1bfc02779cacd340b5ff8d60a5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 May 1999 03:05:11 +0000 Subject: [PATCH] Include makepath.h libintl.h, not after it. Otherwise, we'd get the wrong definition of PARAMS from libintl.h. (The method of defining PARAMS in libintl.h doesn't check PROTOTYPES, which is necessary on Irix4 since cc doesn't define __STDC__.) From Kaveh Ghazi. --- lib/makepath.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/makepath.c b/lib/makepath.c index bf6ba31..4a758e3 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -96,6 +96,9 @@ extern int errno; #define WX_USR (S_IWUSR | S_IXUSR) +/* Include this before libintl.h so we get our definition of PARAMS. */ +#include "makepath.h" + #if HAVE_LOCALE_H # include #endif @@ -113,7 +116,6 @@ typedef int gid_t; #endif #include "save-cwd.h" -#include "makepath.h" #include "error.h" void strip_trailing_slashes (); -- 2.7.4