[net.sources.bugs] Rn bug patch #3

jonab@sdcrdcf.UUCP (Jonathan Biggar) (11/17/84)

System: rn version 4.1
Bug #: 3
Priority: LOW
Subject: rn on System V--circular dependency
Index: common.h

Description:
	There is a minor problem with compiling rn on a stock System V
	system, in that:

	1) fcntl.h isn't included unless PENDING is defined, and
	2) PENDING isn't defined unless fcntl.h is included.

Repeat-By:
	Compile the standard rn kit on a System V system.  The problem
	will manifest itself with the message that TIOCSETP is not
	defined in term.c.

Fix:
	The fix is trivial.  If you have fcntl.h, include it near the
	beginning of common.h, before O_NDELAY is referenced.