summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
Diffstat (limited to 'git.h')
-rw-r--r--git.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/git.h b/git.h
index aa64fff..9bbe0e7 100644
--- a/git.h
+++ b/git.h
@@ -3,6 +3,7 @@
#include <git2.h>
#include <stdint.h>
+#include <time.h>
typedef struct git_repo git_repo;
typedef struct pull_request pull_request;
@@ -36,7 +37,7 @@ struct pull_request {
char *desc; /* Description of the pull request. */
char *author; /* Author of the pull request. */
comment **comments; /* Comments of this pull reuqest. */
- int date; /* Date of creation. */
+ time_t date; /* Date of creation. */
uint8_t pr_type; /* Type of pull request. (0 = individual commit patches, 1 = remote branch) */
union {
file **patches; /* Patch files of pull request. */