diff options
Diffstat (limited to 'comms/yaps/files/patch-tty.c')
-rw-r--r-- | comms/yaps/files/patch-tty.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/comms/yaps/files/patch-tty.c b/comms/yaps/files/patch-tty.c index c967ef0d77f0..1264276b7c5d 100644 --- a/comms/yaps/files/patch-tty.c +++ b/comms/yaps/files/patch-tty.c @@ -1,13 +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" +--- tty.c.orig 1997-06-07 14:32:21 UTC ++++ tty.c +@@ -22,8 +22,10 @@ + # elif HAVE_SYS_MKDEV_H + # 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" + /*}}}*/ |