dgiardini / rtl-ais

A simple AIS tuner and generic dual-frequency FM demodulator
Other
266 stars 89 forks source link

Fix run on 64bit #11

Closed rhaamo closed 7 years ago

rhaamo commented 7 years ago

The missing includes causes the compiler to not have the correct sizings on 64bit systems. It will then cause segfault with trying to connect to in TCP. I add two missing includes to avoid that issue. Fixed and tryied on : osx 64bit, linux 64bit and seems to be ok.