summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/files/no-native-gpg-error.patch
blob: b9a607863d3e8c682edf214de29501eba1e587f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Don't depend on a native libgpg-error to build the test driver, as it's
an optional dependency for some C annotations.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@arm.com>

diff --git a/tests/testdrv.c b/tests/testdrv.c
index 0ccde326..6d6abd57 100644
--- a/tests/testdrv.c
+++ b/tests/testdrv.c
@@ -32,7 +32,6 @@
 # include <fcntl.h>
 # include <sys/wait.h>
 #endif
-#include <gpg-error.h> /* For some macros.  */
 
 #include "stopwatch.h"