-
Notifications
You must be signed in to change notification settings - Fork 211
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
Missing header <unistd.h> from file check.c #186
Comments
Since header <unistd.h> is not portable (is part of POSIX standard), it needs to be added in a portable way, maybe the same way it is used...
|
Interesting. What platform are you seeing this on? I'm guessing from the paths that it is on macOS. When I try compiling master on my macOS machine I do not see that warning. check.c includes libcompat.h, and that has the following:
I would expect that unistd.h would be included if configure found it. I wonder why configure did not find it on your system. |
It happens on MacOS. I have not run ./configure at all, just using the CMake build. ( |
This raises the bigger question, do we want to support both CMake build and autoconf (GNU) build? |
What I meant with my question, was "Does check continue to support both GNU and CMake build, or in the future only CMake build?" |
I have fixed this in f00f503 |
The text was updated successfully, but these errors were encountered: