1
0
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:
Jfreegman 2014-06-24 13:20:12 -04:00
parent 5f6f021039
commit c41464c990
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -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"