move inclusion of unistd.h before POSIX feature test macros (for usleep)
commit0ad6d17346272e6fe7b3b07249f79e502ad92892
authorrofl0r <retnyg@gmx.net>
Sat, 3 Feb 2018 00:20:51 +0000 (3 00:20 +0000)
committerrofl0r <retnyg@gmx.net>
Sat, 3 Feb 2018 00:22:34 +0000 (3 00:22 +0000)
tree7a85a6610c9c1f21a43d6462519f16bb9d4090ff
parentcdcf02376b06490232a9d3ae833c98de52d0fc17
move inclusion of unistd.h before POSIX feature test macros (for usleep)

usleep() was obsoleted in the last version of posix, yet the alternative
nanosleep is not quite as practical since it requires messing around with
struct timespecs etc.

fixes warning about implicit declaration on FreeBSD.
sockssrv.c