--- mstools/posix/h/fcntl.h 2018/08/09 18:22:18 1.1.1.1 +++ mstools/posix/h/fcntl.h 2018/08/09 18:24:37 1.1.1.2 @@ -10,12 +10,6 @@ Abstract: This module contains the required contents of fcntl -Author: - - Mark Lucovsky (markl) 17-Oct-1989 - -Revision History: - --*/ #ifndef _FCNTL_ @@ -23,6 +17,10 @@ Revision History: #include +#ifdef __cplusplus +extern "C" { +#endif + #define O_RDONLY 0x00000000 #define O_WRONLY 0x00000001 #define O_RDWR 0x00000002 @@ -78,4 +76,8 @@ int _CRTAPI2 open(const char *, int,...) int _CRTAPI1 creat(const char *, mode_t); int _CRTAPI2 fcntl(int, int, ...); +#ifdef __cplusplus +} +#endif + #endif /* _FCNTL_ */