From 65cfe677cc8cb65efa71356f40d79d5b796301c0 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 9 Apr 2014 23:08:38 +0200 Subject: [PATCH] Removes some warnings with old gcc compiler. --- cmdline/portable.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmdline/portable.h b/cmdline/portable.h index 6bb2a385..73ed0923 100644 --- a/cmdline/portable.h +++ b/cmdline/portable.h @@ -22,6 +22,8 @@ #include "config.h" /* Use " to include first in the same directory of this file */ #endif +#define _GNU_SOURCE /* for fallocate and futimens */ + /***************************************************************************/ /* Config */