#ifndef _ERRNO_H #define _ERRNO_H #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifdef __posix_threads__ extern int __thread errno; #else extern int errno; #endif #include #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* _ERRNO_H */