Fix #include order
This commit is contained in:
parent
8b0251e7e1
commit
f270831c91
1 changed files with 3 additions and 3 deletions
6
nmrpd.h
6
nmrpd.h
|
@ -34,14 +34,14 @@
|
||||||
#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/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
#ifndef NMRPFLASH_LINUX
|
||||||
|
#include <net/if_dl.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <iphlpapi.h>
|
#include <iphlpapi.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue