fixed dealing with unaligned structures. used __attribute__ ((packed)), and defined types as __uXX.
fixed dealing with unaligned structures.
used __attribute__ ((packed)), and defined types as __uXX.


git-svn-id: 40dd595c6684d839db675001a64203a1457e7319@3120 67ed7778-7388-44ab-90cf-0a291f65f57c

msmeissn/libgphoto2,jbreeden/libgphoto2,msmeissn/libgphoto2,msmeissn/libgphoto2,thusoy/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2,msmeissn/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,gphoto/libgphoto2,msmeissn/libgphoto2,jbreeden/libgphoto2,jbreeden/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2