summaryrefslogblamecommitdiff
path: root/user/kcalcore/posix-header.patch
blob: 27522ae351988e7af6f1e307df7d0333af002414 (plain) (tree)




































                                                                        
From b8a362ea78d945e54155b2538dcc1df8dd64d533 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Wed, 11 Oct 2017 20:51:27 -0500
Subject: [PATCH] versit: include strings.h for strcasecmp

---
 src/versit/vcc.y     | 1 +
 src/versit/vobject.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/versit/vcc.y b/src/versit/vcc.y
index b9fbb0f..3e68795 100644
--- a/src/versit/vcc.y
+++ b/src/versit/vcc.y
@@ -99,6 +99,7 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
 #endif
 
 #include <string.h>
+#include <strings.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
diff --git a/src/versit/vobject.c b/src/versit/vobject.c
index db13f9e..a57c417 100644
--- a/src/versit/vobject.c
+++ b/src/versit/vobject.c
@@ -46,6 +46,7 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
 
 #include "vobject.h"
 #include <string.h>
+#include <strings.h>
 #include <stdio.h>
 
 #define NAME_OF(o)          o->id
-- 
2.10.0