projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt dtlogin/config/_common.ksh.src for OpenBSD:
[oweals/cde.git]
/
cde
/
programs
/
dtlogin
/
account.c
diff --git
a/cde/programs/dtlogin/account.c
b/cde/programs/dtlogin/account.c
index e14389d43cad1603fc0dfd776c1503da46031d5a..3999de3decbc1d33f47f1777989fc3b00931c1fb 100644
(file)
--- a/
cde/programs/dtlogin/account.c
+++ b/
cde/programs/dtlogin/account.c
@@
-57,7
+57,12
@@
#endif
#include <fcntl.h>
#endif
#include <fcntl.h>
+#if defined(__FreeBSD__) && OSMAJORVERSION > 8
+#include <utmpx.h>
+#else
#include <utmp.h>
#include <utmp.h>
+#endif
+
#include <time.h>
#include "dm.h"
#include <time.h>
#include "dm.h"