#9 add missing system header string.h
Opened by mschiff. Modified

This is needed for mem* function prototypes used in these sources

Signed-off-by: Khem Raj raj.khem@gmail.com

--- a/src/sanlock_sock.c
+++ b/src/sanlock_sock.c
@@ -12,6 +12,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <stddef.h>
+#include <string.h>
 #include <sys/socket.h>
 #include <sys/un.h>
--- a/wdmd/wdmd_sock.c
+++ b/wdmd/wdmd_sock.c
@@ -12,6 +12,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <stddef.h>
+#include <string.h>
 #include <sys/socket.h>
 #include <sys/un.h>

Metadata