diff options
author | Jim Meyering <jim@meyering.net> | 1999-05-05 03:05:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-05-05 03:05:11 +0000 |
commit | c4ddb7f83ad92f1bfc02779cacd340b5ff8d60a5 (patch) | |
tree | edb0f87c7a3f72126d043fc9f657f45772d7782c /lib | |
parent | 431db6c84745a69384c57e57db66097f715747c0 (diff) | |
download | coreutils-c4ddb7f83ad92f1bfc02779cacd340b5ff8d60a5.tar.xz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/makepath.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <locale.h> #endif @@ -113,7 +116,6 @@ typedef int gid_t; #endif #include "save-cwd.h" -#include "makepath.h" #include "error.h" void strip_trailing_slashes (); |