Package: manpages
Version: 3.23-1

<sys/socket.h> does not make struct ucred available.  Compiling the
following program yields:

#include <sys/socket.h>
struct ucred cred;

/tmp/t.c:2: error: storage size of ‘cred’ isn’t known

Apparently, this is provided conditionally if _GNU_SOURCE is defined,
and the manpage should document this (IMHO).

-- 
Florian Weimer                <[email protected]>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to