[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1337715710-9484-1-git-send-email-vapier@gentoo.org>
Date: Tue, 22 May 2012 15:41:50 -0400
From: Mike Frysinger <vapier@...too.org>
To: linux-ext4@...r.kernel.org
Subject: [PATCH] libquota: add missing time.h include
This code uses time() but doesn't include time.h leading to:
quotaio.c:89:2: warning: implicit declaration of function 'time'
Signed-off-by: Mike Frysinger <vapier@...too.org>
---
lib/quota/quotaio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/quota/quotaio.c b/lib/quota/quotaio.c
index 481d5f5..6e917f0 100644
--- a/lib/quota/quotaio.c
+++ b/lib/quota/quotaio.c
@@ -11,6 +11,7 @@
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
+#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
--
1.7.8.6
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists