aboutsummaryrefslogtreecommitdiffstats
path: root/evaluator.h
diff options
context:
space:
mode:
authorvolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-01-23 12:04:55 +0000
committervolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-01-23 12:04:55 +0000
commit6cb52cd1063078550edb1a7346e8cd31cf39b14b (patch)
tree27d70c60e9fd4facaab8f644beefd544c3abf7a0 /evaluator.h
parent9fdf04e659227e89a3e7b72476bbb5ac93205ab2 (diff)
downloadlcd4linux-6cb52cd1063078550edb1a7346e8cd31cf39b14b.tar.gz
fixed compile error on systems without strndup()
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1092 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'evaluator.h')
-rw-r--r--evaluator.h1
1 files changed, 1 insertions, 0 deletions
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 <string.h>
char *strndup(const char *source, size_t len);
#endif