Remove APPDIR support in database_cleanup.sh
[citadel] / webcit / icontheme.c
index d8c9984..28643ae 100644 (file)
@@ -84,7 +84,7 @@ int LoadThemeDir(const char *DirName)
               (filedir_entry != NULL))
        {
 #ifdef _DIRENT_HAVE_D_NAMELEN
-               d_namelen = filedir_entry->d_namelen;
+               d_namelen = filedir_entry->d_namlen;
                d_type = filedir_entry->d_type;
 #else