diff options
author | Brad Smith <brad@comstyle.com> | 2025-06-02 03:29:02 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-03 07:36:17 -0700 |
commit | 35ec1e22452fa9e56e81f53bd91ef688ad3b6624 (patch) | |
tree | e6c72892975a697677392909420e9bab048a061d /commit-graph.c | |
parent | b07857f7dcffee4d3b428df8dce6c9b49a57c9c1 (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