From 6cb52cd1063078550edb1a7346e8cd31cf39b14b Mon Sep 17 00:00:00 2001 From: volker Date: Sat, 23 Jan 2010 12:04:55 +0000 Subject: fixed compile error on systems without strndup() git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1092 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- evaluator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'evaluator.h') 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 -- cgit v1.2.3