I have uploaded updated version which fixes inclusion of <string.h> and <stdlib.h> to debian mentors (RFS bug #882018).
>> The software uses <scsi/sg.h> header, which does not exist on BSD systems. > > Or on the Hurd, which is a different beast altogether. I suspect we may > be out of luck on that front unless <device/tape_status.h> suffices for > stenc's purposes. I tried using <cam/scsi/scsi_sg.h> header on a FreeBSD system and compilation still failed because of missing type declaration. It looks like porting stenc to non-linux systems will require more work.

