Fix FreeBSD undefined identifier issues in Lan_PCap.cpp

FreeBSD requires net/if.h to be included as well.
This commit is contained in:
WaluigiWare64 2021-01-05 12:06:17 +00:00
parent 25455cb7aa
commit dbb12b48ec
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@
#ifdef __linux__
#include <linux/if_packet.h>
#else
#include <net/if_dl.h>
#include <net/if.h>
#include <net/if_dl.h>
#endif
#endif