Commit Diff
- Commit:
888ae65035a604f22010ff55f5499a3d137f930c
- 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 @@ -14,5 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/time.h> +#include <sys/types.h> + void got_date_format_gmtoff(char *, size_t, time_t);