#include <sys/mman.h>
#include <sys/param.h>
#include <sys/syscall.h>
+#if !defined ( __GNU_LIBRARY__ )
#include <sys/sysctl.h>
+#endif
#include <sys/types.h>
#include <utime.h>
return 0;
}
+#if !defined ( __GNU_LIBRARY__ )
static SyscallReturn
sysctlFunc(SyscallDesc *desc, int callnum, ThreadContext *tc)
{
return (ret);
}
+#endif
static SyscallDesc syscallDescs32[] = {
/* 0 */ SyscallDesc("unused#000", unimplementedFunc),
/* 199 */ SyscallDesc("unused#199", unimplementedFunc),
/* 200 */ SyscallDesc("unused#200", unimplementedFunc),
/* 201 */ SyscallDesc("unused#201", unimplementedFunc),
+#if !defined ( __GNU_LIBRARY__ )
/* 202 */ SyscallDesc("sysctl", sysctlFunc),
+#else
+ /* 202 */ SyscallDesc("sysctl", unimplementedFunc),
+#endif
/* 203 */ SyscallDesc("unused#203", unimplementedFunc),
/* 204 */ SyscallDesc("unused#204", unimplementedFunc),
/* 205 */ SyscallDesc("unused#205", unimplementedFunc),