Portability
- Fixed OpenBSD build error (thanks to Aaron Bieber).
This commit is contained in:
@@ -36,7 +36,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#ifdef OPENBSD
|
||||||
|
#include <errno.h>
|
||||||
|
#else
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <TLSClient.h>
|
#include <TLSClient.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user