summaryrefslogtreecommitdiffstats
path: root/tools/omusrmsg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-01 07:57:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-01 07:57:24 +0100
commit7b654060b624d976116d959f4cf799f940c00f0a (patch)
tree9ab32145ca20a8c5d0fd9d1a2d9db73f521b1414 /tools/omusrmsg.c
parent2c39f76037328459c5cff14762e0839b1e77d570 (diff)
downloadrsyslog-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.
Diffstat (limited to 'tools/omusrmsg.c')
-rw-r--r--tools/omusrmsg.c6
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>