summaryrefslogtreecommitdiff
path: root/pages.h
diff options
context:
space:
mode:
Diffstat (limited to 'pages.h')
-rw-r--r--pages.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages.h b/pages.h
index 3c34d98..5beb835 100644
--- a/pages.h
+++ b/pages.h
@@ -20,6 +20,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <time.h>
struct fileorstring
{
@@ -33,7 +34,7 @@ long findstring(const char *file, const char *str);
int deletebytes(const char *file, long offset, size_t bytes);
int writeatbyte(const char *dest, struct fileorstring *source, long offset);
int replaceinpage(const char *outfile, const char *toreplace, struct fileorstring *source);
-char *gettime();
+char *gettime(char *buffer, size_t size);
int createtmpfile(const char *name, const char *content, size_t size);
/* generators (to be put into the pages array) */