historydb: fix compiling on OS X, missing header include
accept: Fix compiling on OS X without SCTP