From 9f58369f10046fc2e9d527ee47ec080ffbd2fd1d Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 27 Feb 1996 23:52:38 +0000 Subject: [PATCH] Make sure size_t and uid_t are defined under MS-DOS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7556 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/ChangeLog | 5 +++++ src/lib/gssapi/generic/gssapi.h | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index 003f1e241..df5842944 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 27 17:49:54 1996 Theodore Y. Ts'o + + * gssapi.h (size_t): Make sure size_t and uid_t are defined under + MS-DOS. + Sat Feb 24 21:30:53 1996 Theodore Y. Ts'o * gssapi.h (GSS_S_DUPLICATE_ELEMENT): New error code function. diff --git a/src/lib/gssapi/generic/gssapi.h b/src/lib/gssapi/generic/gssapi.h index 0aec5cbd4..0b6eefca4 100644 --- a/src/lib/gssapi/generic/gssapi.h +++ b/src/lib/gssapi/generic/gssapi.h @@ -31,6 +31,16 @@ #define GSS_SIZEOF_INT 2 #define GSS_SIZEOF_SHORT 2 #define GSS_SIZEOF_LONG 4 + +#ifndef _SIZE_T_DEFINED +typedef unsigned int size_t; +#define _SIZE_T_DEFINED +#endif /* _SIZE_T_DEFINED */ + +#ifndef _UID_T_DEFINED +typedef unsigned int uid_t; +#define _UID_T_DEFINED +#endif #else /* _MSDOS_ */ #if defined(USE_AUTOCONF_H) @@ -72,7 +82,7 @@ #define FAR #define INTERFACE #endif /* FAR */ -#endif +#endif /* _MSDOS */ /* * Make sure we have a definition for PROTOTYPE. -- 2.26.2