OpenBSD support

This commit is contained in:
Andrew Pamment
2018-01-19 17:13:06 +10:00
parent 6dbd32b7bc
commit 522343e0f8
10 changed files with 183 additions and 2 deletions

View File

@@ -7,6 +7,9 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#if defined(__OpenBSD__)
# include <sys/select.h>
#endif
#include "../../deps/jsmn/jsmn.h"
struct chat_msg {