Browse Source

Fix FTBFS from commit 2c188798.

On Linux, utmp.h is necessary even if utmpx.h is present.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 1 month ago
parent
commit
7209623bd0
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      ktalkd/ktalkd/includ.h

+ 3
- 0
ktalkd/ktalkd/includ.h View File

@@ -60,6 +60,9 @@
60 60
 #elif defined HAVE_UTMP_H
61 61
 #include <utmp.h>
62 62
 #endif
63
+#if defined(UTMP_AND_PROC_FIND_USER) and defined(HAVE_UTMP_H)
64
+#include <utmp.h>
65
+#endif
63 66
 #ifndef UT_LINESIZE
64 67
 #define UT_LINESIZE 12
65 68
 #endif

Loading…
Cancel
Save