hw/usb/dev-mtp: Guard inotify usage with CONFIG_INOTIFY1
commit983bff3530782d51c46c8d7c0e17e2a9dfe5fb77
authorMatthew Fortune <Matthew.Fortune@imgtec.com>
Tue, 23 Feb 2016 15:44:27 +0000 (23 15:44 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Mar 2016 12:58:15 +0000 (18 13:58 +0100)
tree5ce64c551f8aede67545413933aecf3be31b73f9
parentf34d57d359bb539c482a69f2732bf05787127ed4
hw/usb/dev-mtp: Guard inotify usage with CONFIG_INOTIFY1

inotify_init1 usage was guarded by a check for linux but does not
exist on older distributions like CentOS 5 resulting in build
failures.

Signed-off-by: Matthew Fortune <matthew.fortune@imgtec.com>
Message-id: 6D39441BF12EF246A7ABCE6654B023536BB85D4A@hhmail02.hh.imgtec.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-mtp.c