]> err.no Git - util-linux/commitdiff
cal: remove obsolete <localeinfo.h> include
authorGuillem Jover <guillem@hadrons.org>
Thu, 8 Oct 2009 11:40:13 +0000 (13:40 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Oct 2009 13:17:53 +0000 (15:17 +0200)
The fact that the system does not have <langinfo.h> does not imply that
it has <localeinfo.h> (which is an ancient header from Linux libc4).

Signed-off-by: Guillem Jover <guillem@hadrons.org>
misc-utils/cal.c

index bda3a9633a40cc39660ba54273fade85b3d411d6..ec67c237b39f1a52df775fee912fdd6bc541f46f 100644 (file)
@@ -139,8 +139,6 @@ char                *Hrow;          /* pointer to highlighted row in month */
 
 #ifdef HAVE_LANGINFO_H
 # include <langinfo.h>
-#else
-# include <localeinfo.h>       /* libc4 only */
 #endif
 
 #include "widechar.h"