Hi,
Here is a patch that should solve this problem.
Regards,
Christophe
--
,-~~-.___. ._.
/ | ' \ | |"""""""""| Christophe GRENIER
( ) 0 | | | [EMAIL PROTECTED]
\_/-, ,----' | | |
==== !_!--v---v--"
/ \-'~; |""""""""| TestDisk & PhotoRec
/ __/~| ._-""|| | Data Recovery
=( _____|_|____||________| http://www.cgsecurity.org
diff -ru testdisk-6.9/configure.ac testdisk-6.9-2/configure.ac
--- testdisk-6.9/configure.ac 2008-02-13 20:15:47.000000000 +0100
+++ testdisk-6.9-2/configure.ac 2008-04-14 17:38:49.000000000 +0200
@@ -209,7 +209,7 @@
AC_HEADER_STDC
#AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h stdint.h unistd.h])
AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([byteswap.h curses.h cygwin/fs.h dal/file_dal.h dal/file.h
dirent.h endian.h errno.h fcntl.h features.h giconv.h glob.h iconv.h libgen.h
limits.h linux/fs.h linux/hdreg.h linux/types.h locale.h machine/endian.h
ncurses.h ncurses/curses.h ncurses/ncurses.h ntfs/version.h openssl/md5.h
openssl/opensslv.h scsi/scsi.h scsi/scsi_ioctl.h setjmp.h signal.h stdarg.h
sys/cygwin.h sys/disk.h sys/disklabel.h sys/dkio.h sys/endian.h sys/ioctl.h
sys/param.h sys/select.h sys/time.h sys/utsname.h sys/vtoc.h time.h windef.h
varargs.h utime.h zlib.h])
+AC_CHECK_HEADERS([byteswap.h curses.h cygwin/fs.h dal/file_dal.h dal/file.h
dirent.h endian.h errno.h fcntl.h features.h giconv.h glob.h iconv.h libgen.h
limits.h linux/fs.h linux/hdreg.h linux/types.h locale.h machine/endian.h
ncurses.h ncurses/curses.h ncurses/ncurses.h ncursesw/ncurses.h ntfs/version.h
openssl/md5.h openssl/opensslv.h scsi/scsi.h scsi/scsi_ioctl.h setjmp.h
signal.h stdarg.h sys/cygwin.h sys/disk.h sys/disklabel.h sys/dkio.h
sys/endian.h sys/ioctl.h sys/param.h sys/select.h sys/time.h sys/utsname.h
sys/vtoc.h time.h windef.h varargs.h utime.h zlib.h])
#--------------------------------------------------------------------
# Check for iconv support (for Unicode conversion).
diff -ru testdisk-6.9/src/intrfn.h testdisk-6.9-2/src/intrfn.h
--- testdisk-6.9/src/intrfn.h 2007-12-05 00:38:32.000000000 +0100
+++ testdisk-6.9-2/src/intrfn.h 2008-04-14 17:39:50.000000000 +0200
@@ -23,6 +23,8 @@
#ifdef HAVE_NCURSES
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
+#elif defined(HAVE_NCURSESW_NCURSES_H)
+#include <ncursesw/ncurses.h>
#elif defined(HAVE_NCURSES_NCURSES_H)
#include <ncurses/ncurses.h>
#elif defined(HAVE_NCURSES_CURSES_H)