--- mstools/posix/h/errno.h 2018/08/09 18:22:18 1.1.1.1 +++ mstools/posix/h/errno.h 2018/08/09 18:24:35 1.1.1.2 @@ -11,17 +11,6 @@ Abstract: This module contains the implementation defined values for the POSIX error number as described in section 2.5 of IEEE P1003.1/Draft 13. -Author: - - Mark Lucovsky 21-Feb-1989 - -Revision History: - - Sam Patton 23-July-1991 added sockets specific error codes - Sam Patton 26-July-1991 added #define of _POSIX_SOURCE - if _SOCKETS_SOURCE is #defined - Mike Massa 09-Sept-1991 merged into sys\errno.h - --*/ #ifndef _ERRNO_ @@ -29,6 +18,14 @@ Revision History: #include +#ifdef __cplusplus +extern "C" { +#endif + extern int errno; +#ifdef __cplusplus +} +#endif + #endif /* _ERRNO_ */