include errno.h etc, too
authorJim Meyering <jim@meyering.net>
Mon, 3 Sep 2001 18:32:05 +0000 (18:32 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 3 Sep 2001 18:32:05 +0000 (18:32 +0000)
lib/xreadlink.c

index 3194d31..8adbb0c 100644 (file)
 #endif
 
 #include <stdio.h>
+#include <errno.h>
+#ifndef errno
+extern int errno;
+#endif
+
 #if HAVE_SYS_TYPES_H
 # include <sys/types.h>
 #endif