aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar stolz <unknown>2003-05-28 12:36:29 +0000
committerGravatar stolz <unknown>2003-05-28 12:36:29 +0000
commitc367fd30d0cc552b4a288ff042089868babac6d4 (patch)
tree4635cba6fdd93b97e3cff307a66d5156fba2794b /include
parent6449036e682727fdff02749b6c2d382639e2b3ce (diff)
[project @ 2003-05-28 12:36:29 by stolz]
Can't use sendfile() with LARGEFILES on Linux
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h4
1 files changed, 3 insertions, 1 deletions
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 <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>