[comp.windows.x] ULTRIX 2.3 making R3 in Xmu fails with undefined SYS_NMLN

kek@DINORAH.WUSTL.EDU (Ken Krippner) (11/14/88)

CvtStdSel.c 
"/usr/include/sys/utsname.h", line 44: SYS_NMLN undefined

The ULTRIX <sys/utsname.h> notes in its modification history that it
added the use of name lengths from limits.h but it forgot to let the
system use it automatically.

If you add the following to utsname.h (before the typedef struct...)
that problem goes away:

#include <limits.h>  /* fixed on disk, not distrib tape: 13NOV88 kek */


I haven't looked yet to see if 3.0 has the same problem; very likely.
I am writing an SPR to digital so it will be fixed in *some* future
release.

enjoy,
ken

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (11/15/88)

Ultrix 3.0 FT2 fixed utsname.h:

 *      Include limits.h here because POSIX does not
 *      require that it be included.

and automatically included

#include <sys/limits.h>


which is why the virgin R3 didn't include it.  Sigh.  See patch #1.


							Jim