updated: [5ee6f43] build fix: added missing declaration of mhl_dir_plus_file



The following commit has been merged in the mc-4.6 branch:
commit 5ee6f437965d92f3bbf2e917a45c599258074cf9
Author: Sergei Trofimovich <slyfox inbox ru>
Date:   Sun Feb 1 20:38:39 2009 +0200

    build fix: added missing declaration of mhl_dir_plus_file
    
    ./configure --enable-charset && make
        charsets.c: In function 'load_codepages_list':
        charsets.c:51: warning: implicit declaration of function 'mhl_str_dir_plus_file'
        charsets.c:51: warning: assignment makes pointer from integer without a cast
    
    Signed-off-by: Sergei Trofimovich <slyfox inbox ru>

diff --git a/src/charsets.c b/src/charsets.c
index da94853..f2e69e0 100644
--- a/src/charsets.c
+++ b/src/charsets.c
@@ -27,6 +27,8 @@
 
 #include <iconv.h>
 
+#include <mhl/string.h>
+
 #include "global.h"
 #include "charsets.h"
 

-- 
Midnight Commander Development


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]