blob: d357411146c578ea0e981c57cb73c1c2581e1792 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From c7f3e2a8fe530beec6103cb9071ccc41458879aa Mon Sep 17 00:00:00 2001
2From: Tony Tascioglu <tony.tascioglu@windriver.com>
3Date: Mon, 21 Jun 2021 12:34:22 -0400
4Subject: [PATCH] libyang: fix initial build errors
5
6This patch addresses build errors seen when integrating libyang as a
7recipe.
8
9There is a missing include statement for stdint.h in utests.h which
10causes build problems. stdint.h is required to be imported by cmocka.h
11prior to the cmocka file. Adding the stdint allows it to build the
12tests correctly
13
14Upstream-Status: Submitted [ https://github.com/CESNET/libyang/pull/1819 ]
15
16Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
17Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
18---
19 tests/utests/utests.h | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/tests/utests/utests.h b/tests/utests/utests.h
23index 7e85a66e..8eee26ce 100644
24--- a/tests/utests/utests.h
25+++ b/tests/utests/utests.h
26@@ -22,6 +22,7 @@
27 #include <stdarg.h>
28 #include <stddef.h>
29 #include <stdlib.h>
30+#include <stdint.h>
31
32 #include <cmocka.h>
33
34--
352.32.0