doc: add Meson coding style to contributors guide
[dpdk.git] / lib / librte_eal / common / eal_common_log.c
index bed83a4..ec8fe23 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <rte_eal.h>
 #include <rte_log.h>
+#include <rte_os_shim.h>
 #include <rte_per_lcore.h>
 
 #include "eal_log.h"
@@ -30,7 +31,7 @@ static struct rte_logs {
        size_t dynamic_types_len;
        struct rte_log_dynamic_type *dynamic_types;
 } rte_logs = {
-       .type = ~0,
+       .type = UINT32_MAX,
        .level = RTE_LOG_DEBUG,
 };