forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -53,6 +53,10 @@ AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
|
||||
# RTEMS provides a stub, despite newlib doesn't have sys/mman.h
|
||||
AC_CHECK_DECLS([mprotect],[],[],[[#include <sys/mman.h>]])
|
||||
|
||||
# FIXME: IEEE Std 1003.1-2008 mandates seteuid in unistd.h
|
||||
# RTEMS provides it, despite newlib doesn't declare it.
|
||||
AC_CHECK_DECLS([seteuid],[],[],[#include <unistd.h>])
|
||||
|
||||
# FIXME: We should get rid of this. It's a cludge.
|
||||
AC_CHECK_SIZEOF([off_t])
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user