]> git.webhop.me Git - lcd4linux.git/commitdiff
fixed compile error on systems without strndup()
authorvolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 23 Jan 2010 12:04:55 +0000 (12:04 +0000)
committervolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 23 Jan 2010 12:04:55 +0000 (12:04 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1092 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

evaluator.h

index 5de3ce1362ef10deac42239197d395be91b6f25d..172db7c4eefd70e59a80d65118290da5e48a4a81 100644 (file)
@@ -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