From 1c399d00524ed89eef163ec89c9311674e2cccbf Mon Sep 17 00:00:00 2001 From: stolz Date: Fri, 6 Jun 2003 12:49:00 +0000 Subject: [project @ 2003-06-06 12:49:00 by stolz] Move System.Sendfile to Network.Sendfile: - Linux can sendfile() to a fd, but BSD couldn't - sendfile() on Linux is probably now disabled on most builds because of the LARGEFILE issue => Change API to use type Socket --- include/HsUnix.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'include') diff --git a/include/HsUnix.h b/include/HsUnix.h index 9c60b1f..ad90050 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: HsUnix.h,v 1.10 2003/05/28 12:36:29 stolz Exp $ + * $Id: HsUnix.h,v 1.11 2003/06/06 12:49:00 stolz Exp $ * * (c) The University of Glasgow 2002 * @@ -61,17 +61,6 @@ #include #endif -#ifdef HAVE_BSD_SENDFILE -#include -#include -#include -#endif -#ifdef HAVE_LINUX_SENDFILE -#if !defined(__USE_FILE_OFFSET64) -#include -#endif -#endif - #ifdef HAVE_FRAMEWORK_HASKELLSUPPORT #include #else -- cgit v1.2.3