Project

General

Profile

Bug #2073 ยป diff_position_include_sys_types.diff

makoe, 2009-09-30 10:27

View differences:

src/network_backends.h (Arbeitskopie)
#ifndef _NETWORK_BACKENDS_H_
#define _NETWORK_BACKENDS_H_
#include <sys/types.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h>
/* on linux 2.4.x you get either sendfile or LFS */
#if defined HAVE_SYS_SENDFILE_H && defined HAVE_SENDFILE && (!defined _LARGEFILE_SOURCE || defined HAVE_SENDFILE64) && defined HAVE_WRITEV && defined(__linux__) && !defined HAVE_SENDFILE_BROKEN
# define USE_LINUX_SENDFILE
    (1-1/1)