projects
/
monky
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
here comes the big header include rewrite
[monky]
/
src
/
mail.c
diff --git
a/src/mail.c
b/src/mail.c
index
d8a0099
..
e1bd0ce
100644
(file)
--- a/
src/mail.c
+++ b/
src/mail.c
@@
-25,8
+25,18
@@
*
*/
*
*/
+#include "config.h"
#include "conky.h"
#include "conky.h"
+#include "common.h"
+#include "logging.h"
+#include "mail.h"
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <netdb.h>
+#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/time.h>
@@
-34,6
+44,13
@@
#include <errno.h>
#include <termios.h>
#include <errno.h>
#include <termios.h>
+/* MAX() is defined by a header included from conky.h
+ * maybe once this is not true anymore, so have an alternative
+ * waiting to drop in.
+ *
+ * #define MAX(a, b) ((a > b) ? a : b)
+ */
+
char *current_mail_spool;
void update_mail_count(struct local_mail_s *mail)
char *current_mail_spool;
void update_mail_count(struct local_mail_s *mail)