summaryrefslogtreecommitdiff
path: root/lib/readutmp.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-01 07:29:45 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-01 07:29:45 +0000
commit39922247779d1a487677ca86a859b4d5373855bb (patch)
treef5339b65f5e54ad16a8ea199a28b040ba42d1a62 /lib/readutmp.c
parent0d8eb99283dd1171fac7d5c7f8a275a675c1939e (diff)
downloadgnulib-39922247779d1a487677ca86a859b4d5373855bb.tar.gz
Include readutmp.h first.
Include <errno.h>, since readutmp.h no longer does that.
Diffstat (limited to 'lib/readutmp.c')
-rw-r--r--lib/readutmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/readutmp.c b/lib/readutmp.c
index ed5889308c..0f844e8449 100644
--- 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