diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-01 12:52:25 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-01 12:52:25 +0100 |
commit | eb3afa800033a9479be0f9abf282befe2d478e3f (patch) | |
tree | 787981116a9876cbbd5e6cd2074275a714a3cc5d /tools/omusrmsg.c | |
parent | c2c1d7120c3bcb8f12ad281798973f23010c63f9 (diff) | |
parent | af6c73439ecef2446c5fae0d774a8c093e2a3747 (diff) | |
download | rsyslog-eb3afa800033a9479be0f9abf282befe2d478e3f.tar.gz rsyslog-eb3afa800033a9479be0f9abf282befe2d478e3f.tar.bz2 rsyslog-eb3afa800033a9479be0f9abf282befe2d478e3f.zip |
Merge branch 'v4-stable' into tmp
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> |