diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-23 09:18:52 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-23 09:18:52 +0000 |
commit | 81cb74af2e580d29cff01543119f646c3f4ff987 (patch) | |
tree | 965acdbc566ff0295d62dc19752426c387508a2f /rsyslog.h | |
parent | 8425445c2dd68d91bb62487032151f06d35c583a (diff) | |
download | rsyslog-81cb74af2e580d29cff01543119f646c3f4ff987.tar.gz rsyslog-81cb74af2e580d29cff01543119f646c3f4ff987.tar.bz2 rsyslog-81cb74af2e580d29cff01543119f646c3f4ff987.zip |
fixed a very nasty bug in structure creation of struct filed (caused
omusrmsg to be defunct) - many thanks to maharaja for providing the
right idea at the right time ;)
Diffstat (limited to 'rsyslog.h')
-rw-r--r-- | rsyslog.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -19,12 +19,15 @@ # undef _LARGEFILE_SOURCE # undef _LARGEFILE64_SOURCE # undef _FILE_OFFSET_BITS -# define _GNU_SOURCE # define _LARGEFILE_SOURCE # define _LARGEFILE64_SOURCE # define _FILE_OFFSET_BITS 64 #endif +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + /* The error codes below are orginally "borrowed" from * liblogging. As such, we reserve values up to -2999 * just in case we need to borrow something more ;) |