diff options
Diffstat (limited to 'newlib/libc/include/sys/fcntl.h')
-rw-r--r-- | newlib/libc/include/sys/fcntl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/fcntl.h b/newlib/libc/include/sys/fcntl.h index f358a8fab..4cb12a368 100644 --- a/newlib/libc/include/sys/fcntl.h +++ b/newlib/libc/include/sys/fcntl.h @@ -169,11 +169,13 @@ extern int fcntl _PARAMS ((int, int, ...)); /* Provide _<systemcall> prototypes for functions provided by some versions of newlib. */ +#ifdef _COMPILING_NEWLIB extern int _open _PARAMS ((const char *, int, ...)); extern int _fcntl _PARAMS ((int, int, ...)); #ifdef __LARGE64_FILES extern int _open64 _PARAMS ((const char *, int, ...)); #endif +#endif #ifdef __cplusplus } |