fix compilation on *BSD
fix compilation on *BSD

sergiohs84/sdk,Acidburn0zzz/sdk,jedisct1/sdk,Novo1987/sdk,BlackFired/sdk,jedisct1/sdk,wizzard/sdk,Sisky/sdk,Sisky/sdk,Alexx99/sdk,thedebian/sdk,SuperStarPL/sdk,sergiohs84/sdk,Acidburn0zzz/sdk,sergiohs84/sdk,meganz/sdk,PatrickJBaird/sdk,18671178307/sdk,SuperStarPL/sdk,javiserrano/sdk,BlackFired/sdk,Novo1987/sdk,Novo1987/sdk,18671178307/sdk,Alexx99/sdk,18671178307/sdk,meganz/sdk,Sisky/sdk,BiuroCo/mega,jedisct1/sdk,wizzard/sdk,Sisky/sdk,Novo1987/sdk,18671178307/sdk,BiuroCo/mega,jedisct1/sdk,PatrickJBaird/sdk,BlackFired/sdk,BiuroCo/mega,SuperStarPL/sdk,meganz/sdk,Alexx99/sdk,javiserrano/sdk,Acidburn0zzz/sdk,18671178307/sdk,BlackFired/sdk,BiuroCo/mega,wizzard/sdk,Alexx99/sdk,sergiohs84/sdk,PatrickJBaird/sdk,18671178307/sdk,sergiohs84/sdk,Novo1987/sdk,Acidburn0zzz/sdk,Novo1987/sdk,sergiohs84/sdk,thedebian/sdk,PatrickJBaird/sdk,18671178307/sdk,Sisky/sdk,sergiohs84/sdk,SuperStarPL/sdk,BlackFired/sdk,PatrickJBaird/sdk,PatrickJBaird/sdk,javiserrano/sdk,BiuroCo/mega,sergiohs84/sdk,BlackFired/sdk,jedisct1/sdk,meganz/sdk,meganz/sdk,meganz/sdk,Alexx99/sdk,Acidburn0zzz/sdk,jedisct1/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Sisky/sdk,thedebian/sdk,jedisct1/sdk,javiserrano/sdk,wizzard/sdk,thedebian/sdk,Novo1987/sdk,Alexx99/sdk,thedebian/sdk,BiuroCo/mega,18671178307/sdk,SuperStarPL/sdk,meganz/sdk,SuperStarPL/sdk,jedisct1/sdk,thedebian/sdk,Novo1987/sdk,javiserrano/sdk,javiserrano/sdk