projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a456afe
)
[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
author
Jim Meyering
<jim@meyering.net>
Wed, 5 Apr 2000 15:05:54 +0000
(15:05 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 5 Apr 2000 15:05:54 +0000
(15:05 +0000)
lib/readutmp.h
patch
|
blob
|
history
diff --git
a/lib/readutmp.h
b/lib/readutmp.h
index 3d4ef253d40878cf53f6bed4a2661ea24582bda9..5a08fdab41c028acb12ac9a0c07c1b7a2e55139f 100644
(file)
--- a/
lib/readutmp.h
+++ b/
lib/readutmp.h
@@
-42,6
+42,9
@@
# endif
# else
# include <utmp.h>
+# if !HAVE_DECL_GETUTENT
+ struct utmp *getutent();
+# endif
# define UTMP_STRUCT_NAME utmp
# define UT_TIME_MEMBER(UT_PTR) ((UT_PTR)->ut_time)
# define SET_UTMP_ENT setutent