mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-03 15:23:04 +00:00
image.h: Include fcntl.h
No all distros (Rpi) provide O_PATH definition, so include fcntl.h here thus we don't hit compilation problem like | CC image.o | image.c: In function ‘open_image_at’: | image.c:187:29: error: ‘O_PATH’ undeclared (first use in this function) Reported-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
57825f6500
commit
ff50ef3b21
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "compiler.h"
|
||||
#include "servicefd.h"
|
||||
#include "image-desc.h"
|
||||
#include "fcntl.h"
|
||||
#include "magic.h"
|
||||
|
||||
#define PAGE_IMAGE_SIZE 4096
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue