*** /tools/newlib-1.8.1/newlib/libc/sys/rtems/sys/types.h Fri Apr 09 06:37:16 1999 --- sys/types.h Sat Apr 17 11:15:27 1999 *************** *** 7,12 **** --- 7,17 ---- #ifndef __POSIX_SYS_TYPES_h #define __POSIX_SYS_TYPES_h + #ifdef __cplusplus + extern "C" { + #endif + + #include #include <_ansi.h> #include *************** *** 333,338 **** --- 338,347 ---- } pthread_once_t; /* dynamic package initialization */ #endif /* defined(_POSIX_THREADS) */ + + #ifdef __cplusplus + } + #endif #endif /* end of include file */