summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psximfs02
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-08-30 16:58:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-08-30 16:58:13 +0000
commit521869335b5f442b01de832ecaf048680ff8d761 (patch)
treeeb5b2f8e4ca4257847cf0ce938b29370e0f7ba3b /testsuites/psxtests/psximfs02
parent2010-08-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-521869335b5f442b01de832ecaf048680ff8d761.tar.bz2
2010-08-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: AC_CHECK_DECLS([seteuid]). * psximfs02/init.c: Provide decl for seteuid if not provided by libc.
Diffstat (limited to 'testsuites/psxtests/psximfs02')
-rw-r--r--testsuites/psxtests/psximfs02/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/psxtests/psximfs02/init.c b/testsuites/psxtests/psximfs02/init.c
index 861bf0cca5..a9c79a0dd5 100644
--- a/testsuites/psxtests/psximfs02/init.c
+++ b/testsuites/psxtests/psximfs02/init.c
@@ -20,6 +20,10 @@
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
+#if !HAVE_DECL_SETEUID
+extern int seteuid(uid_t euid);
+#endif
+
void IMFS_dump( void );
rtems_task Init(
rtems_task_argument argument