Skip to content

Conversation

@Alizter
Copy link
Collaborator

@Alizter Alizter commented Dec 28, 2025

Fixes build issues on NetBSD and OpenBSD.

#ifdef _WIN32
#include <malloc.h>
#elif defined(__FreeBSD__)
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFlyBSD__)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the important part that fixes #13070.

Fixes build issues on NetBSD and OpenBSD.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter merged commit e29a36c into ocaml:main Dec 28, 2025
29 of 30 checks passed
@Alizter Alizter deleted the push-zvqwqknxtlpx branch December 28, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build broken on OpenBSD

2 participants