From: volker Date: Sat, 23 Jan 2010 12:04:55 +0000 (+0000) Subject: fixed compile error on systems without strndup() X-Git-Tag: svn1203~111 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=6cb52cd1063078550edb1a7346e8cd31cf39b14b;p=lcd4linux.git fixed compile error on systems without strndup() git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1092 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- diff --git a/evaluator.h b/evaluator.h index 5de3ce1..172db7c 100644 --- a/evaluator.h +++ b/evaluator.h @@ -42,6 +42,7 @@ typedef struct { /* strndup() may be not available on several platforms */ #ifndef HAVE_STRNDUP +#include char *strndup(const char *source, size_t len); #endif