diff options
author | Jan Tulak <jtulak@redhat.com> | 2018-12-06 17:10:21 -0600 |
---|---|---|
committer | Eric Sandeen <sandeen@redhat.com> | 2018-12-06 17:10:21 -0600 |
commit | 8866703074d4c01831a254c42c645afef8075b23 (patch) | |
tree | 55925c6aed578349d3c7aacd129620bd289bbdfd | |
parent | 6ff49bf7951e5951bd8f938fc3662c896a1bf9e8 (diff) | |
download | xfsdump-dev-8866703074d4c01831a254c42c645afef8075b23.tar.gz |
common/drive.c: include stdlib.h
We are using calloc() inside of this file, but it is not included in any
way (resultin in "implicit declaration" warnings from the compiler). So,
add the include.
Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r-- | common/drive.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/drive.c b/common/drive.c index 4b0825f8..edb63c0b 100644 --- a/common/drive.c +++ b/common/drive.c @@ -17,6 +17,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <sys/stat.h> #include <time.h> |