patch for x86_64 build follows.
One may also need to add CFLAGS="-fPIC" before ./configure if building
on x86_64 with internal chmlib.

--- kchmviewer-3.0/lib/libchmfile/libchmfileimpl.h.orig 2007-04-29
17:18:08.000000000 +0800
+++ kchmviewer-3.0/lib/libchmfile/libchmfileimpl.h      2007-04-29
17:18:25.000000000 +0800
@@ -24,6 +24,9 @@

 #include "libchmfile.h"
 #include "libchmtocimage.h"
+#if defined(__x86_64__)
+#include <sys/types.h>
+#endif

 //! Keeps the intermediate search result
 class LCHMSearchProgressResult
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to