From c367fd30d0cc552b4a288ff042089868babac6d4 Mon Sep 17 00:00:00 2001 From: stolz Date: Wed, 28 May 2003 12:36:29 +0000 Subject: [project @ 2003-05-28 12:36:29 by stolz] Can't use sendfile() with LARGEFILES on Linux --- include/HsUnix.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/HsUnix.h b/include/HsUnix.h index 559a2ce..9c60b1f 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: HsUnix.h,v 1.9 2003/05/08 16:00:20 ross Exp $ + * $Id: HsUnix.h,v 1.10 2003/05/28 12:36:29 stolz Exp $ * * (c) The University of Glasgow 2002 * @@ -67,8 +67,10 @@ #include #endif #ifdef HAVE_LINUX_SENDFILE +#if !defined(__USE_FILE_OFFSET64) #include #endif +#endif #ifdef HAVE_FRAMEWORK_HASKELLSUPPORT #include -- cgit v1.2.3