X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=sh%2Fhivexsh.c;h=faff83c7249e288cee640f75dfd6b75919f9ed43;hb=a6ba26dca8dd496bec71d65746b3c3b65e604f03;hp=a9b738e7e918965df8bc89cec21ad309d05bc90e;hpb=e505c1655bda57806b3862a63239f7d7fa7ebbf1;p=hivex.git diff --git a/sh/hivexsh.c b/sh/hivexsh.c index a9b738e..faff83c 100644 --- a/sh/hivexsh.c +++ b/sh/hivexsh.c @@ -27,6 +27,11 @@ #include #include #include +#include + +#ifdef HAVE_LIBINTL_H +#include +#endif #ifdef HAVE_LIBREADLINE #include @@ -100,8 +105,10 @@ int main (int argc, char *argv[]) { setlocale (LC_ALL, ""); +#ifdef HAVE_BINDTEXTDOMAIN bindtextdomain (PACKAGE, LOCALEBASEDIR); textdomain (PACKAGE); +#endif int c; const char *filename = NULL;