Portability

- Fixed OpenBSD build error (thanks to Aaron Bieber).
This commit is contained in:
Paul Beckingham 2013-10-31 19:17:06 -04:00
parent 169cc7b5cb
commit 9a7752b07a

View file

@ -36,7 +36,11 @@
#include <string.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#ifdef OPENBSD
#include <errno.h>
#else
#include <sys/errno.h>
#endif
#include <sys/types.h>
#include <netdb.h>
#include <TLSClient.h>