~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/lib/sendfile-util.c

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2002-2012 Dovecot authors, see the included COPYING file */
 
1
/* Copyright (c) 2002-2013 Dovecot authors, see the included COPYING file */
2
2
 
3
3
/* kludge a bit to remove _FILE_OFFSET_BITS definition from config.h.
4
4
   It's required to be able to include sys/sendfile.h with Linux. */
93
93
#elif defined (HAVE_SOLARIS_SENDFILE)
94
94
 
95
95
#include <sys/sendfile.h>
96
 
#include "network.h"
 
96
#include "net.h"
97
97
 
98
98
ssize_t safe_sendfile(int out_fd, int in_fd, uoff_t *offset, size_t count)
99
99
{