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

Add feature flags and missing #includes.

These are needed to compile on some strict Linuxes.
This commit is contained in:
iphydf
2020-04-15 21:34:30 +00:00
parent 51e1ab94b3
commit dd5fa236ae
19 changed files with 25 additions and 0 deletions

View File

@ -20,9 +20,12 @@
*
*/
#define _POSIX_C_SOURCE 200809L
#define _XOPEN_SOURCE 500
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <strings.h>
#include <time.h>
#include <limits.h>
#include <dirent.h>