mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 22:53:28 +01:00
fix dns compatibility for apple
This commit is contained in:
parent
5f6f021039
commit
c41464c990
@ -27,9 +27,14 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/nameser.h>
|
||||
#include <resolv.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <arpa/nameser_compat.h>
|
||||
#else
|
||||
#include <arpa/nameser.h>
|
||||
#endif /* ifdef __APPLE__ */
|
||||
|
||||
#include <tox/toxdns.h>
|
||||
|
||||
#include "toxic.h"
|
||||
|
Loading…
Reference in New Issue
Block a user