From: Jim Meyering Date: Wed, 5 May 1999 03:05:11 +0000 (+0000) Subject: Include makepath.h libintl.h, not after it. X-Git-Tag: cvs-readonly~7345 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=90182dd6ea4c44991c7477ea25cb3ff90941081e;p=gnulib.git 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. --- diff --git a/lib/makepath.c b/lib/makepath.c index bf6ba3187..4a758e37a 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 ();