> Date: Fri, 29 Sep 2017 12:59:11 +0100
> From: Robert Swindells <r...@fdy2.co.uk>
> 
> Does hmac(3) really belong in stdlib.h ?
> 
> I'm getting a conflict with something that defines its own hmac()
> function and also includes stdlib.h.

No, not really.

You can avoid this by defining any of the feature macros other than
_NETBSD_SOURCE, e.g.:

#define _POSIX_C_SOURCE 200809L

Of course, then you don't get anything else for which you need
_NETBSD_SOURCE (which is on by default unless you define any of the
other feature macros).

Reply via email to