mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Fix FreeBSD undefined identifier issues in Lan_PCap.cpp
FreeBSD requires net/if.h to be included as well.
This commit is contained in:
@ -36,6 +36,7 @@
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <linux/if_packet.h>
|
#include <linux/if_packet.h>
|
||||||
#else
|
#else
|
||||||
|
#include <net/if.h>
|
||||||
#include <net/if_dl.h>
|
#include <net/if_dl.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user