summaryrefslogtreecommitdiff
path: root/src/map/mail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mail.h')
-rw-r--r--src/map/mail.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/map/mail.h b/src/map/mail.h
index 99742c7bd..64b0f9779 100644
--- a/src/map/mail.h
+++ b/src/map/mail.h
@@ -2,10 +2,14 @@
// See the LICENSE file
// Portions Copyright (c) Athena Dev Teams
-#ifndef _MAIL_H_
-#define _MAIL_H_
+#ifndef MAP_MAIL_H
+#define MAP_MAIL_H
-#include "../common/mmo.h"
+#include "../common/cbasetypes.h"
+
+struct item;
+struct mail_message;
+struct map_session_data;
struct mail_interface {
void (*clear) (struct map_session_data *sd);
@@ -17,10 +21,10 @@ struct mail_interface {
int (*openmail) (struct map_session_data *sd);
void (*deliveryfail) (struct map_session_data *sd, struct mail_message *msg);
bool (*invalid_operation) (struct map_session_data *sd);
-} mail_s;
+};
struct mail_interface *mail;
void mail_defaults(void);
-#endif /* _MAIL_H_ */
+#endif /* MAP_MAIL_H */