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
View File
@@ -436,6 +436,7 @@ static void BMK_loadFiles(void* buffer, size_t bufferSize,
U64 fileSize = UTIL_getFileSize(fileNamesTable[n]);
if (UTIL_isDirectory(fileNamesTable[n])) {
DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]);
fileSizes[n] = 0;
continue;
}
f = fopen(fileNamesTable[n], "rb");