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

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>

Login to comment on this ticket.

Metadata