changeset 5501:96318a40c410

Include readutmp.h first. Include <errno.h>, since readutmp.h no longer does that.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 01 Dec 2004 07:29:45 +0000
parents 2785d5bbfbcf
children 47a1f9959023
files lib/readutmp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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