diff options
Diffstat (limited to 'c/src/exec/libcsupport/src/fpathconf.c')
-rw-r--r-- | c/src/exec/libcsupport/src/fpathconf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/exec/libcsupport/src/fpathconf.c b/c/src/exec/libcsupport/src/fpathconf.c index 063baff38a..ac65db000b 100644 --- a/c/src/exec/libcsupport/src/fpathconf.c +++ b/c/src/exec/libcsupport/src/fpathconf.c @@ -16,6 +16,7 @@ #endif #include <rtems/libio_.h> +#include <rtems/seterr.h> #include <unistd.h> #include <errno.h> @@ -78,7 +79,7 @@ long fpathconf( return_value = the_limits->posix_sync_io; break; default: - set_errno_and_return_minus_one( EINVAL ); + rtems_set_errno_and_return_minus_one( EINVAL ); break; } |