diff options
author | volker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-01-23 12:04:55 +0000 |
---|---|---|
committer | volker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-01-23 12:04:55 +0000 |
commit | 6cb52cd1063078550edb1a7346e8cd31cf39b14b (patch) | |
tree | 27d70c60e9fd4facaab8f644beefd544c3abf7a0 | |
parent | 9fdf04e659227e89a3e7b72476bbb5ac93205ab2 (diff) | |
download | lcd4linux-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
-rw-r--r-- | evaluator.h | 1 |
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 |