Fix a compilation error with gdbm
[apps/madmutt.git] / pager.c
diff --git a/pager.c b/pager.c
index f0d366d..ea07331 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -16,6 +16,7 @@
 #endif
 
 #include <wchar.h>
+#include <wctype.h>
 #include <sys/stat.h>
 #include <ctype.h>
 #include <unistd.h>
@@ -28,6 +29,7 @@
 #include <lib-lib/macros.h>
 #include <lib-lib/mapping.h>
 #include <lib-lib/debug.h>
+#include <lib-lib/rx.h>
 
 #include <lib-ui/curses.h>
 #include <lib-ui/enter.h>
@@ -39,7 +41,7 @@
 #include "pager.h"
 #include "attach.h"
 #include "recvattach.h"
-#include "mbyte.h"
+#include "charset.h"
 #include "sidebar.h"
 #include "buffy.h"
 
@@ -49,7 +51,6 @@
 
 #include <lib-crypt/crypt.h>
 
-#include "lib/rx.h"
 
 #define ISHEADER(x) ((x) == MT_COLOR_HEADER || (x) == MT_COLOR_HDEFAULT)