X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fglob.c;h=1b5de09955e0bc4ee2611c4fda74e2d1c5cbe5f0;hb=f62700038e9edd7d8002242015a900a15626bceb;hp=3ea676707c269b94841ee430bcf1108ab890669c;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp diff --git a/src/glob.c b/src/glob.c index 3ea676707c..1b5de09955 100644 --- a/src/glob.c +++ b/src/glob.c @@ -20,19 +20,10 @@ #include #include "glob.h" #include "error.h" +#include "progname.h" #include #include - -#if TIME_WITH_SYS_TIME -#include -#include -#else -#if HAVE_SYS_TIME_H -#include -#else #include -#endif -#endif #if HAVE_LIBHISTORY #if HAVE_READLINE_HISTORY_H @@ -76,7 +67,7 @@ extern void stifle_history (); #include "error.h" #include "file-handle.h" #include "filename.h" -#include "getline.h" +#include "getl.h" #include "hash.h" #include "lexer.h" #include "magic.h" @@ -87,6 +78,8 @@ extern void stifle_history (); #include "version.h" #include "vfm.h" +#include "gettext.h" + /* var.h */ struct dictionary *default_dict; struct expression *process_if_expr; @@ -117,6 +110,8 @@ static void get_date (void); void init_glob (int argc UNUSED, char **argv) { + set_program_name (argv[0]); + /* FIXME: Allow i18n of other locale items (besides LC_MESSAGES). */ #if ENABLE_NLS #if HAVE_LC_MESSAGES