1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 09:36:36 +02:00

fix dns compatibility for apple

This commit is contained in:
Jfreegman
2014-06-24 13:20:12 -04:00
parent 5f6f021039
commit c41464c990

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"