commit | fdb896e577d4154b4dbd4350c9828e7df3b7da84 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Feb 25 23:04:55 2014 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Feb 25 23:15:20 2014 +0000 |
tree | 1890a4a9eacf4212ff7031ff96d4f1f72a87ebae | |
parent | a7c6e5143cef6d0b62e8812b8dee13f22e31d5db [diff] |
Do not compile scsi ioctl decoding if <scsi/sg.h> is not available Add a generic test for <scsi/sg.h> availability to fix build with Bionic libc that does not provide <scsi/sg.h>. * configure.ac (AC_CHECK_HEADERS): Add scsi/sg.h. * ioctl.c (ioctl_decode): Do not call scsi_ioctl if !HAVE_SCSI_SG_H. * scsi.c: Do not compile scsi ioctl decoding if !HAVE_SCSI_SG_H. Reported-by: Elliott Hughes <enh@google.com>