diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-09-06 13:59:41 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-09-06 13:59:41 +0100 |
commit | 96f1edbae1ed41ec1c4e558060b7b33b6b749ea4 (patch) | |
tree | 757ca2871cf09c7b26ed37d725e4bcf08f552bfb | |
parent | ea1e3871e48b8bcad5b664e25bfc8a46dbaa4d55 (diff) | |
download | hivex-96f1edbae1ed41ec1c4e558060b7b33b6b749ea4.tar.gz hivex-96f1edbae1ed41ec1c4e558060b7b33b6b749ea4.tar.xz hivex-96f1edbae1ed41ec1c4e558060b7b33b6b749ea4.zip |
Include libintl.h to silence warning about bindtextdomain, textdomain.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | sh/hivexsh.c | 4 | ||||
-rw-r--r-- | xml/hivexml.c | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a4e55b4..d7520e7 100644 --- a/configure.ac +++ b/configure.ac @@ -131,7 +131,7 @@ dnl Check sizeof long. AC_CHECK_SIZEOF([long]) dnl Headers. -AC_CHECK_HEADERS([endian.h byteswap.h]) +AC_CHECK_HEADERS([byteswap.h endian.h libintl.h]) dnl Functions. AC_CHECK_FUNCS([bindtextdomain]) diff --git a/sh/hivexsh.c b/sh/hivexsh.c index 8831653..faff83c 100644 --- a/sh/hivexsh.c +++ b/sh/hivexsh.c @@ -29,6 +29,10 @@ #include <errno.h> #include <locale.h> +#ifdef HAVE_LIBINTL_H +#include <libintl.h> +#endif + #ifdef HAVE_LIBREADLINE #include <readline/readline.h> #include <readline/history.h> diff --git a/xml/hivexml.c b/xml/hivexml.c index d6a6303..903c4b7 100644 --- a/xml/hivexml.c +++ b/xml/hivexml.c @@ -28,6 +28,10 @@ #include <time.h> #include <locale.h> +#ifdef HAVE_LIBINTL_H +#include <libintl.h> +#endif + #include <libxml/xmlwriter.h> #include "hivex.h" |