blob: 5878847113dfeb63083df300e7b136f74f7fe133 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Sep 2022 15:57:32 -0700
4Subject: [PATCH] add missing system header string.h
5
6This is needed for mem* function prototypes used in these sources
7
8Upstream-Status: Submitted [https://pagure.io/sanlock/issue/8]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/sanlock_sock.c | 1 +
12 wdmd/wdmd_sock.c | 1 +
13 2 files changed, 2 insertions(+)
14
15diff --git a/src/sanlock_sock.c b/src/sanlock_sock.c
16index b83f9ae..e206f88 100644
17--- a/src/sanlock_sock.c
18+++ b/src/sanlock_sock.c
19@@ -12,6 +12,7 @@
20 #include <stdio.h>
21 #include <stdint.h>
22 #include <stddef.h>
23+#include <string.h>
24 #include <sys/socket.h>
25 #include <sys/un.h>
26
27diff --git a/wdmd/wdmd_sock.c b/wdmd/wdmd_sock.c
28index 45d9d9b..110ce9f 100644
29--- a/wdmd/wdmd_sock.c
30+++ b/wdmd/wdmd_sock.c
31@@ -12,6 +12,7 @@
32 #include <stdio.h>
33 #include <stdint.h>
34 #include <stddef.h>
35+#include <string.h>
36 #include <sys/socket.h>
37 #include <sys/un.h>
38
39--
402.37.3
41