summaryrefslogtreecommitdiff
path: root/src/map/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/storage.c')
-rw-r--r--src/map/storage.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/map/storage.c b/src/map/storage.c
index 574028872..5d9b67778 100644
--- a/src/map/storage.c
+++ b/src/map/storage.c
@@ -1,14 +1,13 @@
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
+#include "../common/cbasetypes.h"
+#include "../common/db.h"
#include "../common/nullpo.h"
#include "../common/malloc.h"
#include "../common/showmsg.h"
+#include "map.h" // struct map_session_data
#include "storage.h"
#include "chrif.h"
#include "itemdb.h"
@@ -20,6 +19,11 @@
#include "atcommand.h"
#include "log.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+
static struct dbt *storage_db;
static struct dbt *guild_storage_db;