summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ktalkd/ktalkd/includ.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ktalkd/ktalkd/includ.h b/ktalkd/ktalkd/includ.h
index f26d21be..c36d259b 100644
--- a/ktalkd/ktalkd/includ.h
+++ b/ktalkd/ktalkd/includ.h
@@ -60,6 +60,9 @@
#elif defined HAVE_UTMP_H
#include <utmp.h>
#endif
+#if defined(UTMP_AND_PROC_FIND_USER) and defined(HAVE_UTMP_H)
+#include <utmp.h>
+#endif
#ifndef UT_LINESIZE
#define UT_LINESIZE 12
#endif