From ec2d30c0e78b8fdd68108285acd802129d005cb7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Dec 2008 07:39:14 -0500 Subject: [PATCH] HACK: asm/*: pull in C library headers Pull in the libc versions of these headers so that the proper userspace defines/typedefs are utilized. Signed-off-by: Mike Frysinger --- include/asm-generic/fcntl.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index 0fc16e3..e38d3e3 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h @@ -1,6 +1,11 @@ #ifndef _ASM_GENERIC_FCNTL_H #define _ASM_GENERIC_FCNTL_H +/* Pull in fcntl structs from the libc #244470 */ +#include +#define HAVE_ARCH_STRUCT_FLOCK +#define HAVE_ARCH_STRUCT_FLOCK64 + #include /* -- 1.7.4.1