diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-10-09 04:50:07 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-10-09 04:50:07 +0000 |
commit | 918514b081ed2ec201967e40d8f64994a864cabd (patch) | |
tree | ba40c10195acd00fcea8860362fe2177e309835c /comms/yaps/files/patch-ad | |
parent | Activate yaps. (diff) |
YAPS (Yet Another Pager Software)
Submitted by: Stefan Esser <se@mi.uni-koeln.de>
Notes
Notes:
svn path=/head/; revision=13775
Diffstat (limited to 'comms/yaps/files/patch-ad')
-rw-r--r-- | comms/yaps/files/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/yaps/files/patch-ad b/comms/yaps/files/patch-ad new file mode 100644 index 000000000000..c967ef0d77f0 --- /dev/null +++ b/comms/yaps/files/patch-ad @@ -0,0 +1,13 @@ +*** tty.c~ Sat Jun 7 16:32:21 1997 +--- tty.c Tue Sep 29 15:32:05 1998 +*************** +*** 23,28 **** +--- 23,30 ---- + # include <sys/mkdev.h> + # else /* ! HAVE_SYS_SYSMACROS_H && ! HAVE_SYS_MKDEV_H */ ++ # ifndef major + # define major(xx) (((xx) >> 8) & 0xff) + # define minor(xx) ((xx) & 0xff) ++ # endif /* major */ + # endif /* HAVE_SYS_SYSMACROS_H || HAVE_SYS_MKDEV_H */ + # include "pager.h" |