summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/defaults/default_fchmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libfs/src/defaults/default_fchmod.c')
-rw-r--r--cpukit/libfs/src/defaults/default_fchmod.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/libfs/src/defaults/default_fchmod.c b/cpukit/libfs/src/defaults/default_fchmod.c
index cda32c82d5..652e24322f 100644
--- a/cpukit/libfs/src/defaults/default_fchmod.c
+++ b/cpukit/libfs/src/defaults/default_fchmod.c
@@ -9,13 +9,16 @@
* $Id$
*/
-#include <rtems/libio.h>
+#if HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
#include <rtems/libio_.h>
#include <rtems/seterr.h>
int rtems_filesystem_default_fchmod(
- rtems_filesystem_location_info_t *loc,
- mode_t mode
+ const rtems_filesystem_location_info_t *loc,
+ mode_t mode
)
{
rtems_set_errno_and_return_minus_one( ENOTSUP );