summaryrefslogtreecommitdiff
path: root/lib/readutmp.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-30 21:39:26 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-30 21:39:26 +0000
commit8f7cca3d72c535282c8bb3f929c73968713298a9 (patch)
treecdbffd40c1107b5c5cd464882f9907c3c914dd2e /lib/readutmp.c
parent16fbc3a5eb0e05ff6fa781ef0843d4844b8c4816 (diff)
downloadcoreutils-8f7cca3d72c535282c8bb3f929c73968713298a9.tar.xz
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 ed5889308..0f844e844 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