summaryrefslogtreecommitdiffstats
path: root/comms/yaps/files/patch-ad
blob: c967ef0d77f00242139e7357b8370872b85716af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"
OpenPOWER on IntegriCloud