Commit Diff
- Commit:
ef0f20a88731571e4b4e9152da6cd4d9aac43c49
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- got_date.h: add explicit #includes Don't rely on implicit/"hidden" includes, but rather add them to the header file so their inclusion doesn't result in missing values. Although not explicitly a functional change, this does help -portable. This ensures size_t/time_t are always present. OK @jrick
- Actions:
- Patch | Tree
--- include/got_date.h +++ include/got_date.h @@ -15,6 +15,7 @@ */ #include <sys/time.h> +#include <sys/types.h> void got_date_format_gmtoff(char *, size_t, time_t);