imxtools/nwztools: fix compilation for windows
commitb9923df170104320e55bff05ecc2a0105067f9cb
authorAmaury Pouly <amaury.pouly@gmail.com>
Wed, 9 Jan 2013 22:04:50 +0000 (9 22:04 +0000)
committerAmaury Pouly <amaury.pouly@gmail.com>
Thu, 10 Jan 2013 00:51:35 +0000 (10 00:51 +0000)
tree15e28db88edcd033fe70daf7b0d6ae41647cad60
parent758a3ae4bb2f9bd02b99f11a9828f172ee2a0328
imxtools/nwztools: fix compilation for windows

There is a windows port of the sg_utils library for scsi pass-
through. This little changes make it compile under mingw. A better
fix would be to implement direct ioctl on both windows and linux
but that's already better than nothing

Change-Id: I0d77cd1bad69806a66f0590362f165f24fa240e9
utils/imxtools/scsitools/README.win32 [new file with mode: 0644]
utils/imxtools/scsitools/scsitool.c
utils/nwztools/scsitools/scsitool.c