git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] compat: fixes for header handling with OpenBSD / NetBSD

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 3, 2025, 00:36 UTC
Message-ID
<xmqqfrghslu0.fsf@gitster.g>
In-Reply-To
<87wm9ut3uo.fsf@gmail.com>
Collin Funk <collin.funk1@gmail.com> writes:
Show 7 quoted lines
> Just one question about this chunk:
>
>>  #define _DEFAULT_SOURCE 1
>> -#define _NETBSD_SOURCE 1
>
> Why remove this definition? I think it might be useful on some older
> systems and seems harmless otherwise.
Yes, it is curious.
Show 7 quoted lines
>
> Other than that, I tested on OpenBSD 7.6 and NetBSD 10.0 and this patch
> fixes the missing declarations. So:
>
> Reviewed-by: Collin Funk <collin.funk1@gmail.com>
>
> Collin
Previous: Collin FunkNext: Brad Smith
Message 3 of 6 in “compat: fixes for header handling with OpenBSD / NetBSD”
  1. compat: fixes for header handling with OpenBSD / NetBSDBrad Smith, Jun 2, 2025
  2. Collin FunkJun 2, 2025
  3. Junio C HamanoJun 3, 2025
  4. Brad SmithJun 3, 2025
  5. Collin FunkJun 3, 2025
  6. Junio C HamanoJun 3, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.