aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar stolz <unknown>2003-06-06 12:49:00 +0000
committerGravatar stolz <unknown>2003-06-06 12:49:00 +0000
commit1c399d00524ed89eef163ec89c9311674e2cccbf (patch)
treeeca9e69b31eafdcbc80c7a7299f2b87a1818f944 /include
parent9a3fcfc40fcbb60d61fd3eb4a6d9659d7e027932 (diff)
[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
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h13
1 files changed, 1 insertions, 12 deletions
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 <grp.h>
#endif
-#ifdef HAVE_BSD_SENDFILE
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/uio.h>
-#endif
-#ifdef HAVE_LINUX_SENDFILE
-#if !defined(__USE_FILE_OFFSET64)
-#include <sys/sendfile.h>
-#endif
-#endif
-
#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
#include <HaskellSupport/dlfcn.h>
#else