e1000e: use local path for local headers
commite703a5a1e043ad78f9370b1f91825625da4383ed
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 3 May 2018 19:50:33 +0000 (3 22:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Jun 2018 16:20:37 +0000 (1 19:20 +0300)
tree1e654cb3d802e13f431c761d42dcb10bbfb69a17
parent455e17a1b85fbc3d8c7208b5bc9a742d8508b324
e1000e: 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/net/e1000e.c