提交 b054137a 编写于 作者: S Szabolcs Nagy

move struct ucred under _GNU_SOURCE in sys/socket.h for clean posix namespace

上级 2c241808
......@@ -19,12 +19,14 @@ extern "C" {
#include <bits/socket.h>
#ifdef _GNU_SOURCE
struct ucred
{
pid_t pid;
uid_t uid;
gid_t gid;
};
#endif
struct linger
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册