main.c: fix build error with solaris

sys/feature_tests.h:362:2: error: #error
"Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
pull/215/head
papadave 2018-01-10 16:13:21 +00:00 committed by rofl0r
parent 3366dc3131
commit a1f7007a46
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@
***************************************************************************/
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#define _POSIX_C_SOURCE 200112L
#undef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>