git.annexia.org
/
hivex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix conditional test for HAVE_HIVEXSH.
[hivex.git]
/
sh
/
hivexsh.c
diff --git
a/sh/hivexsh.c
b/sh/hivexsh.c
index
a9b738e
..
faff83c
100644
(file)
--- a/
sh/hivexsh.c
+++ b/
sh/hivexsh.c
@@
-27,6
+27,11
@@
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
#include <errno.h>
+#include <locale.h>
+
+#ifdef HAVE_LIBINTL_H
+#include <libintl.h>
+#endif
#ifdef HAVE_LIBREADLINE
#include <readline/readline.h>
#ifdef HAVE_LIBREADLINE
#include <readline/readline.h>
@@
-100,8
+105,10
@@
int
main (int argc, char *argv[])
{
setlocale (LC_ALL, "");
main (int argc, char *argv[])
{
setlocale (LC_ALL, "");
+#ifdef HAVE_BINDTEXTDOMAIN
bindtextdomain (PACKAGE, LOCALEBASEDIR);
textdomain (PACKAGE);
bindtextdomain (PACKAGE, LOCALEBASEDIR);
textdomain (PACKAGE);
+#endif
int c;
const char *filename = NULL;
int c;
const char *filename = NULL;