Project

General

Profile

diff_position_include_sys_types.diff

makoe, 2009-09-30 10:27

View differences:

src/network_backends.h (Arbeitskopie)
1 1
#ifndef _NETWORK_BACKENDS_H_
2 2
#define _NETWORK_BACKENDS_H_
3 3

  
4
#include <sys/types.h>
5

  
4 6
#ifdef HAVE_CONFIG_H
5 7
#include "config.h"
6 8
#endif
7 9

  
8
#include <sys/types.h>
9

  
10 10
/* on linux 2.4.x you get either sendfile or LFS */
11 11
#if defined HAVE_SYS_SENDFILE_H && defined HAVE_SENDFILE && (!defined _LARGEFILE_SOURCE || defined HAVE_SENDFILE64) && defined HAVE_WRITEV && defined(__linux__) && !defined HAVE_SENDFILE_BROKEN
12 12
# define USE_LINUX_SENDFILE