eal: fix thread header include
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 15 Jan 2021 11:10:33 +0000 (12:10 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 21 Jan 2021 09:21:40 +0000 (10:21 +0100)
rte_thread.h was missing the compat header to get the __rte_experimental
macro definition.

Fixes: b1fd151267e6 ("eal: add generic thread-local-storage functions")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/include/rte_thread.h

index f1ae2d3..e640ea1 100644 (file)
@@ -3,6 +3,7 @@
  */
 
 #include <rte_os.h>
+#include <rte_compat.h>
 
 #ifndef _RTE_THREAD_H_
 #define _RTE_THREAD_H_