]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Fix a problem with r367686 related to the use of ssize_t. Not sure how this
authorScott Long <scottl@FreeBSD.org>
Sat, 14 Nov 2020 19:04:36 +0000 (19:04 +0000)
committerScott Long <scottl@FreeBSD.org>
Sat, 14 Nov 2020 19:04:36 +0000 (19:04 +0000)
escaped prior testing, but it should be better now.

Reported by: lots

libutil/libutil.h

index 8f093b59af5171136ba54303fb68edef48b5daa4..1c72f599f7dd5cc186f935d7de783232723016ea 100644 (file)
@@ -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