summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2025-06-02 03:29:02 -0400
committerJunio C Hamano <gitster@pobox.com>2025-06-03 07:36:17 -0700
commit35ec1e22452fa9e56e81f53bd91ef688ad3b6624 (patch)
treee6c72892975a697677392909420e9bab048a061d /commit-graph.c
parentb07857f7dcffee4d3b428df8dce6c9b49a57c9c1 (diff)
compat: fixes for header handling with OpenBSD / NetBSD
Handle OpenBSD and NetBSD as FreeBSD / DragonFly are. OpenBSD would need _XOPEN_SOURCE to be set to 700. Its simpler to just not set _XOPEN_SOURCE. CC strbuf.o strbuf.c:645:6: warning: call to undeclared function 'getdelim'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] r = getdelim(&sb->buf, &sb->alloc, term, fp); ^ 1 warning generated. Signed-off-by: Brad Smith <brad@comstyle.com> Reviewed-by: Collin Funk <collin.funk1@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions