Make it compile on FreeBSD
This commit is contained in:
parent
9d2f9e3636
commit
417345b031
1 changed files with 5 additions and 0 deletions
5
nmrpd.h
5
nmrpd.h
|
@ -34,8 +34,13 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NMRPFLASH_WINDOWS
|
#ifndef NMRPFLASH_WINDOWS
|
||||||
|
#ifndef NMRPFLASH_LINUX
|
||||||
|
#include <net/if_dl.h>
|
||||||
|
#endif
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#else
|
#else
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue