X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fvhost%2Frte_vhost.h;h=2acb31df2d8ea551412c2c8e76b82b14533dc069;hb=6e858b4d9244cf53505589673755ab18ac2a4a83;hp=b454c05868e1d9f138b577c92cb712d0920a3383;hpb=4a6672c2d301c105189ae74de73260af204c5ee8;p=dpdk.git diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h index b454c05868..2acb31df2d 100644 --- a/lib/vhost/rte_vhost.h +++ b/lib/vhost/rte_vhost.h @@ -21,10 +21,12 @@ extern "C" { #endif +#ifndef __cplusplus /* These are not C++-aware. */ #include #include #include +#endif #define RTE_VHOST_USER_CLIENT (1ULL << 0) #define RTE_VHOST_USER_NO_RECONNECT (1ULL << 1)