Make compilable on NetBSD. This should fix bug 3217.  Thanks to Patrick TJ McPhee.
Make compilable on NetBSD.
This should fix bug 3217.  Thanks to Patrick TJ McPhee.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb