diff options
author | Jan Kara <jack@suse.cz> | 2016-03-30 10:21:13 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-03-30 10:25:56 +0200 |
commit | c4b56ee58b9b76d2598535cf6109a27b22e60abe (patch) | |
tree | 447ea5e9ac1c3dcd9fb95c804529be8e8156e12f | |
parent | 0ef65deaaf8a8adc133903dd540d1723cf7624de (diff) | |
download | quota-tools-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>
-rw-r--r-- | quotaops.c | 1 | ||||
-rw-r--r-- | setquota.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -52,6 +52,7 @@ #include <time.h> #include <ctype.h> #include <limits.h> +#include <stdlib.h> #if defined(RPC) #include "rquota.h" @@ -17,6 +17,7 @@ #include <getopt.h> #include <time.h> #include <ctype.h> +#include <stdlib.h> #if defined(RPC) #include "rquota.h" |