updated: [c697fb3] build fix: added missing declaration of mhl_dir_plus_file (reported by andrew_b)

Sergei Trofimovich slyfox at inbox.ru
Sun Feb 1 19:32:14 UTC 2009


The following commit has been merged in the mc-4.6 branch:
commit c697fb3753fe9d3daddfed545115942506b90a23
Author: Sergei Trofimovich <slyfox at inbox.ru>
Date:   Sun Feb 1 21:30:21 2009 +0200

    build fix: added missing declaration of mhl_dir_plus_file (reported by andrew_b)
    
        ./configure --enable-samba && make
    ../vfs/libvfs-mc.a(smbfs.o): In function `smbfs_get_path':
    /home/andrew/work.c/mc/mc.master/vfs/smbfs.c:1214: undefined reference to `mhl_str_dir_plus_file'
    collect2: ld returned 1 exit status
    
    Signed-off-by: Sergei Trofimovich <slyfox at inbox.ru>

diff --git a/vfs/smbfs.c b/vfs/smbfs.c
index f4d2345..e027da8 100644
--- a/vfs/smbfs.c
+++ b/vfs/smbfs.c
@@ -49,6 +49,8 @@
 
 #include <string.h>
 
+#include <mhl/string.h>
+
 #include "vfs.h"
 #include "vfs-impl.h"
 #include "smbfs.h"

-- 
Midnight Commander Development



More information about the mc-devel mailing list