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
@@ -50,6 +50,7 @@
/*-************************************
* Dependencies
**************************************/
#include "util.h" /* UTIL_GetFileSize */
#include <stdlib.h> /* malloc */
#include <stdio.h> /* fprintf, fopen, ftello64 */
#include <string.h> /* strcmp */
@@ -62,7 +63,6 @@
# include <sys/time.h> /* gettimeofday */
#endif
#include "util.h" /* UTIL_GetFileSize */
#include "mem.h"
#include "zstd_static.h"
#include "datagen.h"