Include readutmp.h first.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Dec 2004 07:29:45 +0000 (07:29 +0000)
committerPaul 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

index ed58893..0f844e8 100644 (file)
@@ -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