1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 07:16:35 +01: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,6 +20,7 @@
*
*/
#define _POSIX_C_SOURCE 2
#include <limits.h> /* PATH_MAX */
#include <stdio.h> /* fgets, popen, pclose */
#include <stdlib.h> /* malloc, realloc, free, getenv */