From: Richard W.M. Jones Date: Tue, 6 Sep 2011 12:59:41 +0000 (+0100) Subject: Include libintl.h to silence warning about bindtextdomain, textdomain. X-Git-Tag: 1.3.2~12 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=96f1edbae1ed41ec1c4e558060b7b33b6b749ea4;p=hivex.git Include libintl.h to silence warning about bindtextdomain, textdomain. --- 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 #include +#ifdef HAVE_LIBINTL_H +#include +#endif + #ifdef HAVE_LIBREADLINE #include #include 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 #include +#ifdef HAVE_LIBINTL_H +#include +#endif + #include #include "hivex.h"