Fix compilation error
[apps/madmutt.git] / lib-ui / curses.h
index c468446..cb2eb56 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef _MUTT_CURSES_H
 #define _MUTT_CURSES_H
 
+#include <lib-lib/lib-lib.h>
 #include "mutt.h"
 
 #ifdef USE_SLANG_CURSES
@@ -141,7 +142,7 @@ typedef struct {
   const char* msg;
   long pos;
   long size;
-  char sizestr[SHORT_STRING];
+  char sizestr[STRING];
 } progress_t;
 
 void mutt_progress_bar (progress_t* progress, long pos);
@@ -160,6 +161,7 @@ void _mutt_perror (const char*, const char*,int);
 void mutt_query_exit (void);
 void mutt_query_menu (char *, ssize_t);
 void mutt_show_error (void);
+ssize_t mutt_pretty_size(char *s, ssize_t len, ssize_t n);
 
 int mutt_addwch (wchar_t);
 int mutt_alloc_color (int fg, int bg);