Include sys/types.h before system.h (because
authorJim Meyering <jim@meyering.net>
Tue, 17 Jun 2003 18:39:20 +0000 (18:39 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 17 Jun 2003 18:39:20 +0000 (18:39 +0000)
the latter includes sys/stat.h).  Required on Ultrix 4.3.

src/readlink.c

index be52556..6e38f0d 100644 (file)
@@ -23,6 +23,7 @@
 #include <unistd.h>
 #include <limits.h>
 #include <getopt.h>
+#include <sys/types.h>
 
 #include "system.h"
 #include "canonicalize.h"