[10644] in Athena Bugs
lossage with _POSIX_SOURCE
daemon@ATHENA.MIT.EDU (ckclark@Athena.MIT.EDU)
Sat Jul 3 15:41:49 1993
From: ckclark@Athena.MIT.EDU
Date: Sat, 3 Jul 93 15:41:44 -0400
To: bugs@Athena.MIT.EDU
Cc: ckclark@Athena.MIT.EDU
On the DECstation, <sys/socket.h> uses u_short, which it assumes
is defined in <sys/types.h>. However, if _POSIX_SOURCE is
defined, u_short is *not* defined in <sys/types.h>. Therefore,
<sys/socket.h> should either typedef this itself or (preferably)
just use "unsigned short."
-Calvin