Added patch fix O_DIRECT again.

master
Julian M. Kunkel 2018-09-18 16:48:59 +01:00 committed by Glenn K. Lockwood
parent ccfa4daa63
commit a7b58487b0
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@
# include "config.h"
#endif
#ifdef __linux__
# define _GNU_SOURCE /* Needed for O_DIRECT in fcntl */
#endif /* __linux__ */
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>