~ubuntu-branches/ubuntu/trusty/nginx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/os/unix/ngx_linux_config.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-04-25 12:51:45 UTC
  • mfrom: (1.3.28)
  • mto: (1.3.29) (15.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: package-import@ubuntu.com-20130425125145-ugl0wor6bq0u5eae
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
3
 * Copyright (C) Igor Sysoev
 
4
 * Copyright (C) Nginx, Inc.
4
5
 */
5
6
 
6
7
 
28
29
#include <grp.h>
29
30
#include <dirent.h>
30
31
#include <glob.h>
 
32
#include <sys/vfs.h>            /* statfs() */
31
33
 
32
34
#include <sys/uio.h>
33
35
#include <sys/stat.h>
57
59
#include <ngx_auto_config.h>
58
60
 
59
61
 
 
62
#if (NGX_HAVE_POSIX_SEM)
 
63
#include <semaphore.h>
 
64
#endif
 
65
 
 
66
 
60
67
#if (NGX_HAVE_SYS_PRCTL_H)
61
68
#include <sys/prctl.h>
62
69
#endif
80
87
#endif
81
88
 
82
89
 
 
90
#if (NGX_HAVE_FILE_AIO)
 
91
#include <sys/syscall.h>
 
92
#include <linux/aio_abi.h>
 
93
typedef struct iocb  ngx_aiocb_t;
 
94
#endif
 
95
 
 
96
 
83
97
#define NGX_LISTEN_BACKLOG        511
84
98
 
85
99
 
86
 
#if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT
87
 
#define NGX_HAVE_DEFERRED_ACCEPT  1
88
 
#endif
89
 
 
90
 
 
91
100
#ifndef NGX_HAVE_SO_SNDLOWAT
92
101
/* setsockopt(SO_SNDLOWAT) returns ENOPROTOOPT */
93
102
#define NGX_HAVE_SO_SNDLOWAT         0
94
103
#endif
95
104
 
96
105
 
97
 
#ifndef NGX_HAVE_GNU_CRYPT_R
98
 
#define NGX_HAVE_GNU_CRYPT_R         1
99
 
#endif
100
 
 
101
 
 
102
106
#ifndef NGX_HAVE_INHERITED_NONBLOCK
103
107
#define NGX_HAVE_INHERITED_NONBLOCK  0
104
108
#endif
105
109
 
106
110
 
107
111
#define NGX_HAVE_OS_SPECIFIC_INIT    1
 
112
#define ngx_debug_init()
108
113
 
109
114
 
110
115
extern char **environ;