[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Compile error: close undeclared in unix/ssh_agent_
From: |
Zack Weinberg |
Subject: |
Re: [Monotone-devel] Compile error: close undeclared in unix/ssh_agent_platform.cc |
Date: |
Tue, 3 Feb 2009 13:25:37 -0800 |
On Tue, Feb 3, 2009 at 12:09 PM, Tero Koskinen <address@hidden> wrote:
> Hi,
>
> The head revision of net.venge.monotone doesn't compile on OpenBSD
> since unix/ssh_agent_platform.cc is missing unistd.h header.
> (head rev = 84326b08549d3ec19135600f437a6b5346a225ca)
...
> And simple diff which should solve the issue:
...
> @@ -18,6 +18,7 @@
> #include <errno.h>
> #include <stdlib.h>
> #include <string.h>
> +#include <unistd.h>
>
> #ifndef MSG_NOSIGNAL
> #define MSG_NOSIGNAL 0
Applied, thank you. And apologies for breaking it in the first place.
zw