trace: use local path for local headers
commita322714248b9e8dffe6a2bb379ffd5d59b394bb7
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 May 2018 19:50:28 +0000 (3 22:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Jun 2018 16:20:37 +0000 (1 19:20 +0300)
tree1f6efdc944c80956d09efbde3ecc3f94bbb4a043
parent83ee768d6247bf121b5b8f4b7580fbbc1281d473
trace: 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: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
trace/control.h
trace/qmp.c