Re: [PATCH 1/9] move agent related code from gdbserver to common/agent.c

Mark Kettenis
2012-02-17T09:24:53Z

> From: Yao Qi <yao@codesourcery.com>
> Date: Fri, 17 Feb 2012 10:54:52 +0800
>
> Compared with version 1, there are some changes,
>
> - Check linux/un.h in both GDB and GDBserver's configure script, and wrap unix socket
> related code by HAVE_LINUX_UN_H, to make it doesn't break other builds.

I'm pretty sure you should not be including <linux/un.h> directly, but
use <sys/un.h> instead.