summaryrefslogtreecommitdiffstats
path: root/cpukit/shttpd
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/shttpd')
-rw-r--r--cpukit/shttpd/compat_rtems.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/shttpd/compat_rtems.c b/cpukit/shttpd/compat_rtems.c
index e3bd11f564..7672ec9d26 100644
--- a/cpukit/shttpd/compat_rtems.c
+++ b/cpukit/shttpd/compat_rtems.c
@@ -138,7 +138,7 @@ set_close_on_exec(int fd)
// but it doesnt hurt either.
(void) fcntl(fd, F_SETFD, FD_CLOEXEC);
}
-
+#ifndef __rtems__
int
my_stat(const char *path, struct stat *stp)
{
@@ -174,7 +174,7 @@ my_getcwd(char *buffer, int maxlen)
{
return (getcwd(buffer, maxlen));
}
-
+#endif
int
set_non_blocking_mode(int fd)
{