From f52ae57d99cdfeec0081350fae1c1a41c6abc612 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 18 Nov 2007 00:46:26 +0000 Subject: [PATCH] Declare strcasecmp here as it isn't part of C99. --- platform/minimal-net/contiki-conf.h | 5 ++++- platform/native/contiki-conf.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/platform/minimal-net/contiki-conf.h b/platform/minimal-net/contiki-conf.h index 99573c906..1b3557f41 100644 --- a/platform/minimal-net/contiki-conf.h +++ b/platform/minimal-net/contiki-conf.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: contiki-conf.h,v 1.5 2007/05/12 21:00:56 oliverschmidt Exp $ + * @(#)$Id: contiki-conf.h,v 1.6 2007/11/18 00:46:51 oliverschmidt Exp $ */ #ifndef __CONTIKI_CONF_H__ @@ -63,4 +63,7 @@ typedef unsigned long clock_time_t; #define LOG_CONF_ENABLED 1 +/* Not part of C99 but actually present */ +int strcasecmp(const char*, const char*); + #endif /* __CONTIKI_CONF_H__ */ diff --git a/platform/native/contiki-conf.h b/platform/native/contiki-conf.h index 21c7578fb..5788c46b0 100644 --- a/platform/native/contiki-conf.h +++ b/platform/native/contiki-conf.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: contiki-conf.h,v 1.6 2007/11/17 18:08:56 adamdunkels Exp $ + * @(#)$Id: contiki-conf.h,v 1.7 2007/11/18 00:46:26 oliverschmidt Exp $ */ #ifndef __CONTIKI_CONF_H__ @@ -65,4 +65,7 @@ typedef unsigned long clock_time_t; #define LOG_CONF_ENABLED 1 +/* Not part of C99 but actually present */ +int strcasecmp(const char*, const char*); + #endif /* __CONTIKI_CONF_H__ */