workaround a stupid issue in how decoding is performed in mutt *sigh*
[apps/madmutt.git] / imap / imap_private.h
index cfa9b4d..bebfc6a 100644 (file)
@@ -12,7 +12,7 @@
 #define _IMAP_PRIVATE_H 1
 
 #include <lib-sys/mutt_socket.h>
-#include <lib-ui/curses.h>
+#include <lib-ui/lib-ui.h>
 
 #include "imap.h"
 
@@ -124,6 +124,7 @@ typedef struct {
   CONNECTION *conn;
   unsigned char state;
   unsigned char status;
+  unsigned char isnew;
   /* let me explain capstr: SASL needs the capability string (not bits).
    * we have 3 options:
    *   1. rerun CAPABILITY inside SASL function.