more portability

This commit is contained in:
cathugger 2017-10-06 01:21:00 +00:00
parent 0428ae301f
commit a203269976
2 changed files with 5 additions and 1 deletions

4
main.c
View file

@ -1,3 +1,7 @@
#ifdef __linux__
#define _POSIX_C_SOURCE 200112L
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>