From b95f8954ba2827e4c04d73decb2f86885baeff3f Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 20 Jul 2005 02:39:16 +0000 Subject: [PATCH] - merge libdotneato into libgvc - make libcommon a convenience library and link into libgvc - convert demo to use libgvc --- lib/common/strcasecmp.c | 4 +++- lib/common/strncasecmp.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/common/strcasecmp.c b/lib/common/strcasecmp.c index 699e12fc8..203417244 100644 --- a/lib/common/strcasecmp.c +++ b/lib/common/strcasecmp.c @@ -14,10 +14,12 @@ * AT&T Research, Florham Park NJ * **********************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifndef HAVE_STRCASECMP -#include #include #include diff --git a/lib/common/strncasecmp.c b/lib/common/strncasecmp.c index 37cea894d..e0bcb28ca 100644 --- a/lib/common/strncasecmp.c +++ b/lib/common/strncasecmp.c @@ -14,14 +14,15 @@ * AT&T Research, Florham Park NJ * **********************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifndef HAVE_STRNCASECMP -#include #include #include - int strncasecmp(const char *s1, const char *s2, unsigned int n) { if (n == 0) -- 2.40.0