diff -uNr partimage-0.6.6.orig/src/client/main.cpp partimage-0.6.6/src/client/main.cpp --- partimage-0.6.6.orig/src/client/main.cpp 2008-01-15 00:39:28.000000000 +0100 +++ partimage-0.6.6/src/client/main.cpp 2008-01-15 01:30:57.000000000 +0100 @@ -1015,6 +1015,11 @@ // ======================================================= int checkStructSizes() { + // Disable header check for AMD64, because it fails +#if defined(__x86_64__) + return 0; +#endif + // ---- check types sizes if (sizeof(DWORD) != 4)