summaryrefslogtreecommitdiff
path: root/setquota.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-03-30 10:21:13 +0200
committerJan Kara <jack@suse.cz>2016-03-30 10:25:56 +0200
commitc4b56ee58b9b76d2598535cf6109a27b22e60abe (patch)
tree447ea5e9ac1c3dcd9fb95c804529be8e8156e12f /setquota.c
parent0ef65deaaf8a8adc133903dd540d1723cf7624de (diff)
downloadlinuxquota-c4b56ee58b9b76d2598535cf6109a27b22e60abe.tar.gz
Fix warnings due to missing stdlib.h
When compiling without RPC, we do not get stdlib.h automatically included via other includes and thus miss some function definitions. Include stdlib.h explicitely. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'setquota.c')
-rw-r--r--setquota.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/setquota.c b/setquota.c
index 8ecd9c3..421631e 100644
--- a/setquota.c
+++ b/setquota.c
@@ -17,6 +17,7 @@
#include <getopt.h>
#include <time.h>
#include <ctype.h>
+#include <stdlib.h>
#if defined(RPC)
#include "rquota.h"