NetBSD build support

From: Kamil Rytarowski <n54_at_gmx.com>
Date: Sat Nov 28 2015 - 23:48:34 CET
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I'm attaching a patch (against the CVS version) to make sndio
buildable on NetBSD.

I tested it on -current, it should work on all supported versions.

The current version ships with native strtonum(3) hidden under the
_OPENBSD_SOURCE namespace, but since there is no function discovery,
using just the builtin is fine too.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWWi9AAAoJEEuzCOmwLnZs/V0QALT/fC835JzhtfXT0Nc1AO19
64d1dBuLjJ+0MAHd7z4ONuQSlnnZ81oEhmKwq+ywvcCNCPOfEntwaFetErq3i4OA
IH3fexkJNhZkx0T+5EYYTrZA+PNX3KnSms3j86I87udaTI406JbBqJC+UOVjTBjp
mBDbhiZzHjB6kQTxA/kqTo4BJqRMYnf95nDMyJIyyHFGP137iRXAAxcQpo5IVsfr
Mc2U7vpDcSk7gjImJg90UMeZYJOiJa4UZXa7wIgpagOOQSRHeNeO2+pyHZyrEGrL
N3SPXEZozBa784hG0dvVYgoDCfKntfFR4Bri62Mm2pQYyJQvEa0W9yx9k9SHbCR6
FRBtKP/EuPhX9ID3QMamBW/f5INpSzfIerRpEOAbibYw31eEVeRf0+QfpNNDGXWE
EIqe1yH5KPlQ0mzFzFOI3XRQek7ubVqI9K4uVFbDWqwronsj09ANDC5tVbdx2vXC
mfLwlW/JhdqOTMp2MbhJlRLlzDk3vcq7er8bY07pZ5p0nfAxZAbHT4ohUxFPfkHt
E8S7ggXdvwbJXK+kZkf9n3WZdck8vi3SlfOlMRR8KiJY7ExOuKcoCumlEBRh8ldt
zWNNP82OhWKGOxaZhJzSgoJ/f6KhSMs2KCpyF2JcCFe6cFa2tbocKWlAcqtNpR3c
IhR85yqKwxsnM7LHFufx
=jvbq
-----END PGP SIGNATURE-----

Received on Sat, 28 Nov 2015 23:48:34 +0100

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:31:34 CET