From 541a1647664a6cdafc05f8295513c94955e98719 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 11 May 2021 21:48:17 +0100 Subject: [PATCH] Define flags attributes ioctl if not defined in Linux. --- setter/src/unix/linux/attr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setter/src/unix/linux/attr.h b/setter/src/unix/linux/attr.h index 8cf4942..195d461 100644 --- a/setter/src/unix/linux/attr.h +++ b/setter/src/unix/linux/attr.h @@ -25,6 +25,10 @@ Copyright (C) 2011-2021 Natalia Portillo #ifndef AARU_FSTESTER_SETTER_SRC_LINUX_ATTR_H_ #define AARU_FSTESTER_SETTER_SRC_LINUX_ATTR_H_ +#ifndef FS_IOC_SETFLAGS +#define FS_IOC_SETFLAGS _IOW('f', 2, long) +#endif + typedef struct { char filename[16];