diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-01 14:21:49 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-01 14:21:49 +0100 |
commit | abef390dae4e959a0650a1f8ff747dc5d1528305 (patch) | |
tree | 744badfb1d749ad241691781576a122276896dca /tools/omusrmsg.c | |
parent | ebf058226120b89bc2735ff72c4c12c14cfa2599 (diff) | |
parent | b4cdb7c997eee95df96321d11d03cf90e4a6caba (diff) | |
download | rsyslog-abef390dae4e959a0650a1f8ff747dc5d1528305.tar.gz rsyslog-abef390dae4e959a0650a1f8ff747dc5d1528305.tar.bz2 rsyslog-abef390dae4e959a0650a1f8ff747dc5d1528305.zip |
Merge branch 'beta' into master
Conflicts:
ChangeLog
configure.ac
doc/manual.html
tools/syslogd.c
Diffstat (limited to 'tools/omusrmsg.c')
-rw-r--r-- | tools/omusrmsg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/omusrmsg.c b/tools/omusrmsg.c index 499a11dd..a89297d7 100644 --- a/tools/omusrmsg.c +++ b/tools/omusrmsg.c @@ -50,7 +50,11 @@ #include <assert.h> #include <signal.h> #include <sys/param.h> -#include <utmp.h> +#ifdef HAVE_UTMP_H +# include <utmp.h> +#else +# include <utmpx.h> +#endif #include <unistd.h> #include <sys/uio.h> #include <sys/stat.h> |