net/virtio: fix duplicate naming of include guard

"The macro name '_VHOST_NET_USER_H' of this include guard is used
in 2 different header files."

lib/librte_vhost/vhost_user.h has the same include guard.
Renamed the include guard in vhost.h to differentiate.

Fixes: 6a84c37e39 ("net/virtio-user: add vhost-user adapter layer")
Cc: stable@dpdk.org

Signed-off-by: Andrius Sirvys <andrius.sirvys@intel.com>
Acked-by: Rami Rosen <ramirose@gmail.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
This commit is contained in:
Andrius Sirvys 2019-03-21 10:09:53 +00:00 committed by Ferruh Yigit
parent 61d4008fe6
commit 1708804ea9

View File

@ -2,8 +2,8 @@
* Copyright(c) 2010-2016 Intel Corporation
*/
#ifndef _VHOST_NET_USER_H
#define _VHOST_NET_USER_H
#ifndef _VIRTIO_USER_VHOST_H
#define _VIRTIO_USER_VHOST_H
#include <stdint.h>
#include <linux/types.h>