lib: remove sched.h from public headers
Checks
Commit Message
Public headers including POSIX-specific <sched.h> were unusable
on Windows. These includes were superfluous, remove them.
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
lib/eal/include/rte_eal.h | 1 -
lib/telemetry/rte_telemetry.h | 1 -
2 files changed, 2 deletions(-)
Comments
On Sat, Aug 28, 2021 at 3:13 PM Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> wrote:
>
> Public headers including POSIX-specific <sched.h> were unusable
> on Windows. These includes were superfluous, remove them.
>
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
> ---
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 <u9012063@gmail.com>
24/09/2021 00:34, William Tu:
> On Sat, Aug 28, 2021 at 3:13 PM Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> wrote:
> >
> > Public headers including POSIX-specific <sched.h> were unusable
> > on Windows. These includes were superfluous, remove them.
> >
> > Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
> > ---
>
> 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 <u9012063@gmail.com>
Applied, thanks.
@@ -12,7 +12,6 @@
*/
#include <stdint.h>
-#include <sched.h>
#include <time.h>
#include <rte_config.h>
@@ -3,7 +3,6 @@
*/
#include <stdint.h>
-#include <sched.h>
#include <rte_compat.h>