Skip to content

Commit

Permalink
fix compile error: ‘FALLOC_FL_KEEP_SIZE’ undeclared (facebook#5708)
Browse files Browse the repository at this point in the history
Summary:
add "linux/falloc.h" in env/io_posix.cc to fix compile error: ‘FALLOC_FL_KEEP_SIZE’ undeclared

Signed-off-by: sheng qiu <herbert1984106@gmail.com>
Pull Request resolved: facebook#5708

Differential Revision: D16832922

fbshipit-source-id: 30e787c4a1b5a9724a8acfd68962ff5ec5f27d3e
  • Loading branch information
sqiu110 authored and Yi Wu committed Sep 9, 2019
1 parent a0873da commit f783c2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions env/io_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <algorithm>
#if defined(OS_LINUX)
#include <linux/fs.h>
#include <linux/falloc.h>
#endif
#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit f783c2d

Please sign in to comment.