X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/142a7605c2947afa39e259b722ca745916009e2c..813099beaefaaf474a25ad6cb0f96b2ff52aad21:/libutil/libutil.h?ds=sidebyside diff --git a/libutil/libutil.h b/libutil/libutil.h index 5b7ffad..66104e9 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -52,6 +52,11 @@ typedef __int64_t int64_t; #define _INT64_T_DECLARED #endif +#ifndef _UINT64_T_DECLARED +typedef __uint64_t uint64_t; +#define _UINT64_T_DECLARED +#endif + #ifndef _PID_T_DECLARED typedef __pid_t pid_t; #define _PID_T_DECLARED @@ -109,7 +114,7 @@ int forkpty(int *_amaster, char *_name, struct termios *_termp, struct winsize *_winp); int humanize_number(char *_buf, size_t _len, int64_t _number, const char *_suffix, int _scale, int _flags); -int expand_number(const char *_buf, int64_t *_num); +int expand_number(const char *_buf, uint64_t *_num); const char *uu_lockerr(int _uu_lockresult); int uu_lock(const char *_ttyname); int uu_unlock(const char *_ttyname);