mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
kronosnet: Correct path to poll.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
|||||||
|
From cae68083fda5d4ca832ff3cc8a533454df2efe23 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Tue, 12 Oct 2021 20:35:53 -0700
|
||||||
|
Subject: [PATCH] libknet/tests: Correct include path for poll.h
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
/usr/include/sys/poll.h:1:2: error: redirec
|
||||||
|
ting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings]
|
||||||
|
| #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/kronosnet/kronosnet/pull/363]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
libknet/tests/test-common.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libknet/tests/test-common.c b/libknet/tests/test-common.c
|
||||||
|
index 86b76b0..8f8b6ca 100644
|
||||||
|
--- a/libknet/tests/test-common.c
|
||||||
|
+++ b/libknet/tests/test-common.c
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
#include <pthread.h>
|
||||||
|
#include <dirent.h>
|
||||||
|
#include <sys/select.h>
|
||||||
|
-#include <sys/poll.h>
|
||||||
|
+#include <poll.h>
|
||||||
|
|
||||||
|
#include "libknet.h"
|
||||||
|
#include "test-common.h"
|
||||||
@@ -12,7 +12,9 @@ SECTION = "libs"
|
|||||||
DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd"
|
DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd"
|
||||||
|
|
||||||
SRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23"
|
SRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23"
|
||||||
SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1"
|
SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1 \
|
||||||
|
file://0001-libknet-tests-Correct-include-path-for-poll.h.patch \
|
||||||
|
"
|
||||||
|
|
||||||
UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases"
|
UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user