Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys/socket.h cannot compile without _NETBSD_SOURCE #326

Open
sgerraty opened this issue Oct 17, 2021 · 1 comment
Open

sys/socket.h cannot compile without _NETBSD_SOURCE #326

sgerraty opened this issue Oct 17, 2021 · 1 comment

Comments

@sgerraty
Copy link

I was recently trying to build latest bmake on minix 3.2.0 and found it necessary to add -D_NETBSD_SOURCE to CPPFLAGS else many headers did not work correctly.
In some headers I see #if defined(_NETBSD_SOURCE) || defined(__minix) but others like sys/socket.h only check for _NETBSD_SOURCE.

I also found it necessary to tweak the filtering of several unit-tests due to seemingly gratuitous differences in error messages like file name too long rather than File name too long and no such file or directory rather than. No such....

@petershh
Copy link

Hello,
Are these flags applied in Minix master?

Please note that porting NetBSD userland to Minix is work-in-progress, and things may work incorrectly.

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

No branches or pull requests

2 participants