X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fperformance-thread%2Fcommon%2Flthread_int.h;h=3f7fb92dfb4408adf460ebc12e5c3fff9c245413;hb=7d47868c26c0059a7c9efb26c0afd80af4c1e01c;hp=b858b55e889b4bd229d43fd4f848346c4c48a4af;hpb=50705e8e3cdd261c1333ede1f449feb9c2c69893;p=dpdk.git diff --git a/examples/performance-thread/common/lthread_int.h b/examples/performance-thread/common/lthread_int.h index b858b55e88..3f7fb92dfb 100644 --- a/examples/performance-thread/common/lthread_int.h +++ b/examples/performance-thread/common/lthread_int.h @@ -62,6 +62,10 @@ #include #define LTHREAD_INT_H +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -69,10 +73,10 @@ #include #include +#include #include #include #include -#include #include #include #include @@ -197,4 +201,8 @@ struct lthread { uint64_t diag_ref; /* ref to user diag data */ } __rte_cache_aligned; +#ifdef __cplusplus +} +#endif + #endif /* LTHREAD_INT_H */