summaryrefslogtreecommitdiff
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-05 19:20:08 -0300
committershennetsind <ind@henn.et>2013-07-05 19:59:12 -0300
commitdc85ce04b774af63fd9d13d9757feb91d56c1b81 (patch)
treea7d01a4352d615b7cdc128ad030963b4db180f30 /src/common/utils.h
parent0118a097c9626b3f8342dd29897392f3da4c1187 (diff)
parent3fd6437cc84cbb87f27bd43f990d468623a2a49e (diff)
downloadhercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.tar.gz
hercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.tar.bz2
hercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.tar.xz
hercules-dc85ce04b774af63fd9d13d9757feb91d56c1b81.zip
HCache | Item Packages Update
http://hercules.ws/board/topic/1389-hcache-item-packages-update/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index 7953d93e8..d245f94e2 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -7,6 +7,7 @@
#include "../common/cbasetypes.h"
#include <stdio.h> // FILE*
+#include <time.h>
// generate a hex dump of the first 'length' bytes of 'buffer'
void WriteDump(FILE* fp, const void* buffer, size_t length);
@@ -37,7 +38,7 @@ struct HCache_interface {
bool (*check) (const char *file);
FILE *(*open) (const char *file, const char *opt);
/* */
- size_t recompile_time;
+ time_t recompile_time;
bool enabled;
};