Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 1 | From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 2 Sep 2022 15:57:32 -0700 |
| 4 | Subject: [PATCH] add missing system header string.h |
| 5 | |
| 6 | This is needed for mem* function prototypes used in these sources |
| 7 | |
| 8 | Upstream-Status: Submitted [https://pagure.io/sanlock/issue/8] |
| 9 | Signed-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 | |
| 15 | diff --git a/src/sanlock_sock.c b/src/sanlock_sock.c |
| 16 | index 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 | |
| 27 | diff --git a/wdmd/wdmd_sock.c b/wdmd/wdmd_sock.c |
| 28 | index 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 | -- |
| 40 | 2.37.3 |
| 41 | |