Skip to content

Commit

Permalink
Added "#include <linux/falloc.h>" in fallocate tests.
Browse files Browse the repository at this point in the history
Added to compile successfully in PPC64 Environment.

Signed-off-by: Santhosh <santhog4@linux.vnet.ibm.com>
Signed-off-by: Eric B Munson <emunson@mgebm.net>
  • Loading branch information
Santhosh authored and khers committed Mar 17, 2016
1 parent e3928d5 commit c08fb4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/fallocate_align.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <signal.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <linux/falloc.h>

#include <hugetlbfs.h>

Expand Down
1 change: 1 addition & 0 deletions tests/fallocate_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <signal.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <linux/falloc.h>

#include <hugetlbfs.h>

Expand Down
1 change: 1 addition & 0 deletions tests/fallocate_stress.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <pthread.h>
#include <linux/falloc.h>

#include <hugetlbfs.h>

Expand Down

0 comments on commit c08fb4a

Please sign in to comment.