From 4666f17930b01e24f82470ee606716c2a43cbd64 Mon Sep 17 00:00:00 2001 From: PartialVolume Date: Sun, 8 Dec 2019 22:26:09 +0000 Subject: [PATCH] Fixes Implicit declaration of function 'fdatasync' is invalid in C99 --- src/pass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pass.c b/src/pass.c index 7526fd2..3bf6fc4 100644 --- a/src/pass.c +++ b/src/pass.c @@ -20,6 +20,7 @@ * */ +#define _POSIX_C_SOURCE 200809L #include #include "nwipe.h"