util.h must the the first include to #define _POSIX_C_SOURCE

This commit is contained in:
inikep
2016-04-29 15:19:40 +02:00
parent 55d047aa92
commit bab4317961
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -55,13 +55,13 @@
/*-*************************************
* Includes
***************************************/
#include "util.h" /* UTIL_GetFileSize */
#include <stdio.h> /* fprintf, fopen, fread, _fileno, stdin, stdout */
#include <stdlib.h> /* malloc, free */
#include <string.h> /* strcmp, strlen */
#include <time.h> /* clock */
#include <errno.h> /* errno */
#include "util.h" /* UTIL_GetFileSize */
#include "mem.h"
#include "fileio.h"
#include "zstd_static.h" /* ZSTD_magicNumber, ZSTD_frameHeaderSize_max */