diff options
-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" |