- (djm) NeXT: dirent structures to get scp working from Ben Lindstrom
<mouring@pconline.com>
diff --git a/ChangeLog b/ChangeLog
index 8567d36..4afa18b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
- (djm) Fixup for AIX getuserattr() support from Tom Bertelson
<tbert@abac.com>
- (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de>
+ - (djm) NeXT: dirent structures to get scp working from Ben Lindstrom
+ <mouring@pconline.com>
20000709
- (djm) Only enable PAM_TTY kludge for Linux. Problem report from
diff --git a/next-posix.h b/next-posix.h
index 511e044..86683db 100644
--- a/next-posix.h
+++ b/next-posix.h
@@ -10,6 +10,20 @@
#include <libc.h>
#include <sys/dir.h>
+#define NAME_MAX 255
+struct dirent {
+ off_t d_off;
+ unsigned long d_fileno;
+ unsigned short d_reclen;
+ unsigned short d_namlen;
+ char d_name[NAME_MAX + 1];
+};
+
+struct utimbuf {
+ time_t actime;
+ time_t modtime;
+};
+
/* FILE */
#define O_NONBLOCK 00004 /* non-blocking open */
@@ -38,5 +52,7 @@
speed_t cfgetospeed(const struct termios *t);
speed_t cfgetispeed(const struct termios *t);
int cfsetospeed(struct termios *t,int speed);
+
+
#endif /* HAVE_NEXT */
#endif /* _NEXT_POSIX_H */