Annotation of embedaddon/nginx/src/os/unix/ngx_darwin_config.h, revision 1.1.1.1

1.1       misho       1: 
                      2: /*
                      3:  * Copyright (C) Igor Sysoev
                      4:  * Copyright (C) Nginx, Inc.
                      5:  */
                      6: 
                      7: 
                      8: #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_
                      9: #define _NGX_DARWIN_CONFIG_H_INCLUDED_
                     10: 
                     11: 
                     12: #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0
                     13: 
                     14: 
                     15: #include <sys/types.h>
                     16: #include <sys/time.h>
                     17: #include <unistd.h>
                     18: #include <inttypes.h>
                     19: #include <stdarg.h>
                     20: #include <stddef.h>             /* offsetof() */
                     21: #include <stdio.h>
                     22: #include <stdlib.h>
                     23: #include <errno.h>
                     24: #include <string.h>
                     25: #include <signal.h>
                     26: #include <pwd.h>
                     27: #include <grp.h>
                     28: #include <dirent.h>
                     29: #include <glob.h>
                     30: #include <sys/mount.h>          /* statfs() */
                     31: 
                     32: #include <sys/filio.h>          /* FIONBIO */
                     33: #include <sys/ioctl.h>
                     34: #include <sys/uio.h>
                     35: #include <sys/stat.h>
                     36: #include <fcntl.h>
                     37: 
                     38: #include <sys/wait.h>
                     39: #include <sys/mman.h>
                     40: #include <sys/resource.h>
                     41: #include <sched.h>
                     42: 
                     43: #include <sys/socket.h>
                     44: #include <netinet/in.h>
                     45: #include <netinet/tcp.h>        /* TCP_NODELAY */
                     46: #include <arpa/inet.h>
                     47: #include <netdb.h>
                     48: #include <sys/un.h>
                     49: 
                     50: #include <sys/sysctl.h>
                     51: #include <xlocale.h>
                     52: 
                     53: 
                     54: #ifndef IOV_MAX
                     55: #define IOV_MAX   64
                     56: #endif
                     57: 
                     58: 
                     59: #include <ngx_auto_config.h>
                     60: 
                     61: 
                     62: #if (NGX_HAVE_POSIX_SEM)
                     63: #include <semaphore.h>
                     64: #endif
                     65: 
                     66: 
                     67: #if (NGX_HAVE_POLL)
                     68: #include <poll.h>
                     69: #endif
                     70: 
                     71: 
                     72: #if (NGX_HAVE_KQUEUE)
                     73: #include <sys/event.h>
                     74: #endif
                     75: 
                     76: 
                     77: #define NGX_LISTEN_BACKLOG  -1
                     78: 
                     79: 
                     80: #ifndef NGX_HAVE_INHERITED_NONBLOCK
                     81: #define NGX_HAVE_INHERITED_NONBLOCK  1
                     82: #endif
                     83: 
                     84: 
                     85: #ifndef NGX_HAVE_CASELESS_FILESYSTEM
                     86: #define NGX_HAVE_CASELESS_FILESYSTEM  1
                     87: #endif
                     88: 
                     89: 
                     90: #define NGX_HAVE_OS_SPECIFIC_INIT    1
                     91: #define NGX_HAVE_DEBUG_MALLOC        1
                     92: 
                     93: 
                     94: extern char **environ;
                     95: 
                     96: 
                     97: #endif /* _NGX_DARWIN_CONFIG_H_INCLUDED_ */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>