--- scrollkeeper-0.3.14.orig/libs/database.c 2002-06-02 10:03:10 +0400 +++ scrollkeeper-0.3.14.orig/libs/database.c 2007-06-25 16:22:44 +0400 @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -160,7 +161,7 @@ else /* link the directory */ { char *target_locale; - char aux_path[PATHLEN]; + char aux_path[MAXPATHLEN]; realpath(source_path, aux_path); target_locale = strrchr(aux_path, '/');