diff --git a/include/types.h b/include/types.h index 36d5a8f18..ef2a2ef8b 100644 --- a/include/types.h +++ b/include/types.h @@ -204,4 +204,16 @@ enum kcmp_type { # define SCM_MAX_FD 253 #endif +#include + +#ifndef F_SETOWN_EX +#define F_SETOWN_EX 15 +#define F_GETOWN_EX 16 + +struct f_owner_ex { + int type; + pid_t pid; +}; +#endif + #endif /* CR_TYPES_H_ */ diff --git a/rbtree.c b/rbtree.c index 5a60757b1..df6d6f090 100644 --- a/rbtree.c +++ b/rbtree.c @@ -2,6 +2,7 @@ * RBtree implementation adopted from the Linux kernel sources. */ +#include #include "rbtree.h" static void __rb_rotate_left(struct rb_node *node, struct rb_root *root)