[hackers] [sbase] Include strings.h for strcasecmp() || sin

From: <git_AT_suckless.org>
Date: Fri, 20 Feb 2015 17:01:33 +0100 (CET)

commit 137ef4d33dce1433e8220c5f5bffafd796c8ffae
Author: sin <sin_AT_2f30.org>
Date: Fri Feb 20 16:00:39 2015 +0000

    Include strings.h for strcasecmp()
    
    Fixes another build error on NetBSD.

diff --git a/grep.c b/grep.c
index 14a9e66..bab1f18 100644
--- a/grep.c
+++ b/grep.c
_AT_@ -3,6 +3,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 
 #include "queue.h"
 #include "util.h"
diff --git a/kill.c b/kill.c
index 5c5f5dd..05255db 100644
--- a/kill.c
+++ b/kill.c
_AT_@ -7,6 +7,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 
 #include "util.h"
 
diff --git a/logger.c b/logger.c
index 5e1c0a4..36d3a3a 100644
--- a/logger.c
+++ b/logger.c
_AT_@ -2,6 +2,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #define SYSLOG_NAMES
 #include <syslog.h>
 #include <unistd.h>
Received on Fri Feb 20 2015 - 17:01:33 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 20 2015 - 17:12:13 CET