diff options
author | Scott Long <scottl@FreeBSD.org> | 2020-11-14 19:04:36 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2020-11-14 19:04:36 +0000 |
commit | e54b036731b8ce528e8258d353204cc80c71751c (patch) | |
tree | 63acf55828de966586d63f5ccd2d5f25e605b04f | |
parent | c849e60a2f065550b40f37193d55f34933c7961a (diff) | |
download | pw-darwin-e54b036731b8ce528e8258d353204cc80c71751c.tar.gz pw-darwin-e54b036731b8ce528e8258d353204cc80c71751c.tar.zst pw-darwin-e54b036731b8ce528e8258d353204cc80c71751c.zip |
Fix a problem with r367686 related to the use of ssize_t. Not sure how this
escaped prior testing, but it should be better now.
Reported by: lots
-rw-r--r-- | libutil/libutil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index 8f093b5..1c72f59 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -65,6 +65,11 @@ typedef __size_t size_t; #define _SIZE_T_DECLARED #endif +#ifndef _SSIZE_T_DECLARED +typedef __ssize_t ssize_t; +#define _SSIZE_T_DECLARED +#endif + #ifndef _UID_T_DECLARED typedef __uid_t uid_t; #define _UID_T_DECLARED |