mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
On OpenBSD, we have to add <netinet/in.h> to define sockaddr_in,
and <sys/socket.h> for AF_INET. This change does not affect compiling on Linux.
This commit is contained in:
parent
68cfe5bbe3
commit
6d85e1382b
|
|
@ -41,6 +41,8 @@
|
|||
#include <fstream>
|
||||
#include <algorithm>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
// defines
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@
|
|||
#include <fstream>
|
||||
#include <algorithm>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
// defines
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@
|
|||
#include <fstream>
|
||||
#include <algorithm>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
// defines
|
||||
|
|
|
|||
Loading…
Reference in a new issue