slachiewicz opened a new pull request, #1832:
URL: https://github.com/apache/maven-mvnd/pull/1832

   `mvndnative.h` was copied from Jansi: it includes ncurses' `term.h` plus 
`libutil.h`, `util.h` and `pty.h`, and carries HawtJNI macros, none of which 
`mvndnative.c` uses. Building the library needs those headers installed, and on 
macOS `malloc` and `free` are declared only through them. The header now 
includes what the code calls: `stdlib.h`, `unistd.h` or `windows.h`, and 
`jni.h`. The committed binaries are unchanged.
   
   Verified: clang builds `mvndnative.c` for the Linux, FreeBSD, macOS and 
Windows targets with `-Werror=implicit-function-declaration` and no ncurses 
headers.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to