#include #include #include // building binutils required this stubs! long sysconf(int name) { return 0; } mode_t umask(mode_t mask) { return mask; } int chmod(const char * path, mode_t mode) { return 0; } int fcntl(int fd, int cmd, ...) { return -1; } int lstat(const char *path, struct stat *buf) { return -1; } char *getwd(char *buf) { return buf; } int access(const char *pathname, int mode) { return 0; } int utime(const char *filename, const int *x) { return 0; } int rmdir (const char *pathname) { return -1; } int chown(const char *path, uid_t owner, gid_t group) { return 0; }