lib: remove sched.h from public headers
PATCH 1/1 lib: remove sched.h from public headers
Public headers including POSIX-specific <sched.h> were unusable on Windows. These includes were superfluous, remove them.
Signed-off-by Dmitry Kozlyuk <[email protected]>
--- lib/eal/include/rte_eal.h | 1 - lib/telemetry/rte_telemetry.h | 1 - 2 files changed, 2 deletions(-)
lib/eal/include/rte_eal.h +0 -1
@@ -12,7 +12,6 @@*/ #include <stdint.h> -#include <sched.h> #include <time.h> #include <rte_config.h>
lib/telemetry/rte_telemetry.h +0 -1
@@ -3,7 +3,6 @@*/ #include <stdint.h> -#include <sched.h> #include <rte_compat.h>
Signature · 1 line
2.29.3
Quoted 6 lines · Dmitry Kozlyuk
Public headers including POSIX-specific <
sched.h> were unusable on Windows. These includes were superfluous, remove them.Signed-off-by Dmitry Kozlyuk <[email protected]>---
Write a program, include rte_eal.h, link with DPDK library, then hit the issue. Verify the patch works correctly and solve my problem.
Acked-by William Tu <[email protected]>
Thomas Monjalon
Applied24/09/2021 00:34, William Tu:
Quoted 5 lines · Dmitry Kozlyuk
Quoted 4 lines
Public headers including POSIX-specific <
sched.h> were unusable on Windows. These includes were superfluous, remove them.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Dmitry Kozlyuk <[email protected]>---
Write a program, include
rte_eal.h, link with DPDK library, then hit the issue. Verify the patch works correctly and solve my problem.Acked-by William Tu <[email protected]>
Applied, thanks.