summaryrefslogtreecommitdiffstats
path: root/src/appl/bsd/logutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl/bsd/logutil.c')
-rw-r--r--src/appl/bsd/logutil.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/appl/bsd/logutil.c b/src/appl/bsd/logutil.c
index 5c594e4920..12c67f2821 100644
--- a/src/appl/bsd/logutil.c
+++ b/src/appl/bsd/logutil.c
@@ -42,6 +42,11 @@
#endif
+#ifndef EMPTY
+/* linux has UT_UNKNOWN but not EMPTY */
+#define EMPTY UT_UNKNOWN
+#endif
+
void update_utmp();
void update_wtmp();
void logwtmp();