projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d8eb99
)
Include readutmp.h first.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 1 Dec 2004 07:29:45 +0000
(07:29 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 1 Dec 2004 07:29:45 +0000
(07:29 +0000)
Include <errno.h>, since readutmp.h no longer does that.
lib/readutmp.c
patch
|
blob
|
history
diff --git
a/lib/readutmp.c
b/lib/readutmp.c
index ed5889308cdfb15453a40b8022de48539d1162ca..0f844e84497025cf49bd6e2b70e7c74d0d547559 100644
(file)
--- a/
lib/readutmp.c
+++ b/
lib/readutmp.c
@@
-19,6
+19,9
@@
#include <config.h>
+#include "readutmp.h"
+
+#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
@@
-26,7
+29,6
@@
#include <string.h>
#include <stdlib.h>
-#include "readutmp.h"
#include "xalloc.h"
#if USE_UNLOCKED_IO