diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:48:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:48:30 +0000 |
commit | 156136264062168dbbc5bbce143488cbe3c60ba6 (patch) | |
tree | 436fdb34cb61756e2690e3ef8711f5b117809a98 /lib/hard-locale.c | |
parent | ccddbf4faf0cc343cdf75c31d77113dee12f1927 (diff) | |
download | coreutils-156136264062168dbbc5bbce143488cbe3c60ba6.tar.xz |
Include hard-locale.h first.
Include <stdlib.h>, <string.h> unconditionally.
Diffstat (limited to 'lib/hard-locale.c')
-rw-r--r-- | lib/hard-locale.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/hard-locale.c b/lib/hard-locale.c index 0070542e0..8c0ee8c77 100644 --- a/lib/hard-locale.c +++ b/lib/hard-locale.c @@ -1,6 +1,6 @@ /* hard-locale.c -- Determine whether a locale is hard. - Copyright (C) 1997, 1998, 1999, 2002 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,19 +20,14 @@ # include <config.h> #endif +#include "hard-locale.h" + #if HAVE_LOCALE_H # include <locale.h> #endif -#if HAVE_STDLIB_H -# include <stdlib.h> -#endif - -#if HAVE_STRING_H -# include <string.h> -#endif - -#include "hard-locale.h" +#include <stdlib.h> +#include <string.h> /* Return nonzero if the current CATEGORY locale is hard, i.e. if you can't get away with assuming traditional C or POSIX behavior. */ |