Mercurial > hg > dhcpcd
changeset 2948:386220c70bde draft
Fix compile on some systems.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 18 Feb 2015 13:40:23 +0000 |
| parents | 840e0cd4bd3b |
| children | a3b53bb6aade |
| files | compat/strtoi.h |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/compat/strtoi.h Fri Feb 13 12:22:05 2015 +0000 +++ b/compat/strtoi.h Wed Feb 18 13:40:23 2015 +0000 @@ -28,6 +28,8 @@ #ifndef STRTOI_H #define STRTOI_H +#include <inttypes.h> + intmax_t strtoi(const char * __restrict nptr, char ** __restrict endptr, int base, intmax_t lo, intmax_t hi, int *rstatus); uintmax_t strtou(const char * __restrict nptr, char ** __restrict endptr,
