summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0001-test-parse-argument-Include-signal.h.patch
blob: 898e8af904ab44aba0e9d81f4ff2ca30dce7b761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 93c7e482d39cf7765974b3c729d29c1b120a60e3 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 24 May 2021 18:26:27 -0700
Subject: [PATCH] test-parse-argument: Include signal.h

Fixes
src/test/test-parse-argument.c:49:29: error: use of undeclared identifier 'SIGABRT'

Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/19718]
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 src/test/test-parse-argument.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test-parse-argument.c b/src/test/test-parse-argument.c
index cf3d54288a..15104e5282 100644
--- a/src/test/test-parse-argument.c
+++ b/src/test/test-parse-argument.c
@@ -5,6 +5,7 @@
 #include "parse-argument.h"
 #include "stdio-util.h"
 #include "tests.h"
+#include <signal.h>
 
 TEST(parse_json_argument) {
         JsonFormatFlags flags = JSON_FORMAT_PRETTY;