diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | next-posix.h | 16 |
2 files changed, 18 insertions, 0 deletions
@@ -2,6 +2,8 @@ | |||
2 | - (djm) Fixup for AIX getuserattr() support from Tom Bertelson | 2 | - (djm) Fixup for AIX getuserattr() support from Tom Bertelson |
3 | <tbert@abac.com> | 3 | <tbert@abac.com> |
4 | - (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de> | 4 | - (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de> |
5 | - (djm) NeXT: dirent structures to get scp working from Ben Lindstrom | ||
6 | <mouring@pconline.com> | ||
5 | 7 | ||
6 | 20000709 | 8 | 20000709 |
7 | - (djm) Only enable PAM_TTY kludge for Linux. Problem report from | 9 | - (djm) Only enable PAM_TTY kludge for Linux. Problem report from |
diff --git a/next-posix.h b/next-posix.h index 511e04434..86683db59 100644 --- a/next-posix.h +++ b/next-posix.h | |||
@@ -10,6 +10,20 @@ | |||
10 | #include <libc.h> | 10 | #include <libc.h> |
11 | #include <sys/dir.h> | 11 | #include <sys/dir.h> |
12 | 12 | ||
13 | #define NAME_MAX 255 | ||
14 | struct dirent { | ||
15 | off_t d_off; | ||
16 | unsigned long d_fileno; | ||
17 | unsigned short d_reclen; | ||
18 | unsigned short d_namlen; | ||
19 | char d_name[NAME_MAX + 1]; | ||
20 | }; | ||
21 | |||
22 | struct utimbuf { | ||
23 | time_t actime; | ||
24 | time_t modtime; | ||
25 | }; | ||
26 | |||
13 | /* FILE */ | 27 | /* FILE */ |
14 | #define O_NONBLOCK 00004 /* non-blocking open */ | 28 | #define O_NONBLOCK 00004 /* non-blocking open */ |
15 | 29 | ||
@@ -38,5 +52,7 @@ int tcsetpgrp(int fd, pid_t pgrp); | |||
38 | speed_t cfgetospeed(const struct termios *t); | 52 | speed_t cfgetospeed(const struct termios *t); |
39 | speed_t cfgetispeed(const struct termios *t); | 53 | speed_t cfgetispeed(const struct termios *t); |
40 | int cfsetospeed(struct termios *t,int speed); | 54 | int cfsetospeed(struct termios *t,int speed); |
55 | |||
56 | |||
41 | #endif /* HAVE_NEXT */ | 57 | #endif /* HAVE_NEXT */ |
42 | #endif /* _NEXT_POSIX_H */ | 58 | #endif /* _NEXT_POSIX_H */ |