changeset 2402:41c51e2e9170

Include sys/types.h before sys/stat.h. Required for ultrix4.3.
author Jim Meyering <jim@meyering.net>
date Wed, 05 Apr 2000 15:00:11 +0000
parents 6071194de054
children de3b422867e1
files lib/readutmp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/readutmp.c
+++ b/lib/readutmp.c
@@ -21,6 +21,7 @@
 
 #include <stdio.h>
 
+#include <sys/types.h>
 #include <sys/stat.h>
 #if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
 # include <string.h>
@@ -129,4 +130,4 @@
   return 0;
 }
 
-#endif /* HAVE_UTMPNAME */
+#endif