Fix for *BSD systems.

Small fix for a compiler error (missing include file).
Tests now run, but test_libcdsh dumps core.