kismetwireless / kismet

Github mirror of official Kismet repository
Other
1.49k stars 292 forks source link

Allow building on OpenBSD #503

Closed buzzdeee closed 6 months ago

buzzdeee commented 6 months ago

these changes are necessary to actually build Kismet on OpenBSD.

To prevent breakage for other platforms, everything guarded by #if defined (OpenBSD) or similar. That makes it look a bit spaghetti, esp. in capture_pcapfile.c

Also with the change in kis_ppilogfile.h not sure if the ifdef dance is necessary, as there are many other files including pcap.h directly as in OpenBSD.

Happy to adapt anything if necessary, let me know.