1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 21:33:27 +01:00

Add missing includes

Fixes compilation with musl libc
This commit is contained in:
Felix Janda 2014-08-03 09:44:48 +02:00
parent 53663a7832
commit c49de7733c
2 changed files with 2 additions and 1 deletions

View File

@ -22,11 +22,11 @@
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#ifdef __APPLE__
#include <sys/types.h>
#include <sys/dir.h>
#include <sys/syslimits.h>
#else
#include <dirent.h>
#endif /* ifdef __APPLE__ */

View File

@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h> /* for u_char */
#include <netinet/in.h>
#include <resolv.h>