diff options
-rw-r--r-- | git.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |