diff options
author | Krzysztof Krzyżaniak <eloy@debian.org> | 2009-10-30 16:38:42 +0000 |
---|---|---|
committer | Krzysztof Krzyżaniak <eloy@debian.org> | 2009-10-30 16:38:42 +0000 |
commit | d5c3fb3805049d4c1d2ba3c01c3d1a8828f04869 (patch) | |
tree | 8d5aeb317979b71999c602629ced8bb1c37f1ef4 /src/settings.h | |
parent | 9bcc98802118528450e76a95710f2fcfd8457dc8 (diff) | |
download | lighttpd-d5c3fb3805049d4c1d2ba3c01c3d1a8828f04869.tar.gz |
new upstream version
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h index 8d74c4a..6ee44b6 100644 --- a/src/settings.h +++ b/src/settings.h @@ -1,6 +1,14 @@ #ifndef _LIGHTTPD_SETTINGS_H_ #define _LIGHTTPD_SETTINGS_H_ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif + +#ifndef __USE_GNU +# define __USE_GNU /* a hack in my eyes, <fcntl.h> F_SETSIG should work with _GNU_SOURCE */ +#endif + #define BV(x) (1 << x) #define INET_NTOP_CACHE_MAX 4 @@ -32,6 +40,7 @@ typedef enum { HANDLER_UNSET, HANDLER_WAIT_FOR_FD } handler_t; +#define HTTP_LINGER_TIMEOUT 5 /* we use it in a enum */ #ifdef TRUE |