diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-01 07:57:24 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-01 07:57:24 +0100 |
commit | 7b654060b624d976116d959f4cf799f940c00f0a (patch) | |
tree | 9ab32145ca20a8c5d0fd9d1a2d9db73f521b1414 | |
parent | 2c39f76037328459c5cff14762e0839b1e77d570 (diff) | |
download | rsyslog-7b654060b624d976116d959f4cf799f940c00f0a.tar.gz rsyslog-7b654060b624d976116d959f4cf799f940c00f0a.tar.xz rsyslog-7b654060b624d976116d959f4cf799f940c00f0a.zip |
fixed typo that (could have) caused compilation fail under FreeBSD
Note that I now also prefer to use utmp.h if it is present - this seems
to be much better under Linux.
-rw-r--r-- | tools/omusrmsg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/omusrmsg.c b/tools/omusrmsg.c index fe3fb4d4..a89297d7 100644 --- a/tools/omusrmsg.c +++ b/tools/omusrmsg.c @@ -50,10 +50,10 @@ #include <assert.h> #include <signal.h> #include <sys/param.h> -#ifdef HAVE_UTMP_X_H -# include <utmpx.h> -#else +#ifdef HAVE_UTMP_H # include <utmp.h> +#else +# include <utmpx.h> #endif #include <unistd.h> #include <sys/uio.h> |