ide: use local path for local headers
commit9314b859bb1065ef9ee1ad2a863aa30f2aa93178
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 May 2018 19:50:31 +0000 (3 22:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Jun 2018 16:20:37 +0000 (1 19:20 +0300)
tree6b9a920c90f830a43b1cdc2649dd9c67cb7b05c1
parente921d6eff9b7fc0260a69bd286b2b134890ef03a
ide: use local path for local headers

When pulling in headers that are in the same directory as the C file (as
opposed to one in include/), we should use its relative path, without a
directory.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/ide/ahci-allwinner.c
hw/ide/ahci.c
hw/ide/ich.c