summaryrefslogtreecommitdiff
path: root/cpukit/libcsupport/src/fcntl.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-09-30 08:20:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-09-30 08:20:32 +0000
commit346725cc9e22b1d8142dbf7ef3765df89b62019c (patch)
tree9d4843667366e0c9b1190a0d936bc031e9172035 /cpukit/libcsupport/src/fcntl.c
parent00da59e4f2375fc3ff0d58b1312d90f3e2fb6b6d (diff)
Rework autoconf defines.
Diffstat (limited to 'cpukit/libcsupport/src/fcntl.c')
-rw-r--r--cpukit/libcsupport/src/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/fcntl.c b/cpukit/libcsupport/src/fcntl.c
index e40cba59f5..ed99f3dd45 100644
--- a/cpukit/libcsupport/src/fcntl.c
+++ b/cpukit/libcsupport/src/fcntl.c
@@ -172,7 +172,7 @@ int fcntl(
* This is the Newlib dependent reentrant version of fcntl().
*/
-#if defined(RTEMS_NEWLIB)
+#if defined(RTEMS_NEWLIB) && !defined(HAVE_FCNTL_R)
#include <reent.h>