diff src/unexmips.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 376386a54a3c
children 697ef44129c6 04bc9d2f42c7
line wrap: on
line diff
--- a/src/unexmips.c	Mon Aug 13 11:12:06 2007 +0200
+++ b/src/unexmips.c	Mon Aug 13 11:13:30 2007 +0200
@@ -26,6 +26,7 @@
 #include <sys/file.h>
 #include <sys/stat.h>
 #include <stdio.h>
+#include <errno.h>
 #include <varargs.h>
 
 #ifdef MACH
@@ -95,7 +96,6 @@
 	if (lseek (_fd, _position, L_SET) != _position) \
 	  fatal_unexec (_error_message, _error_arg);
 
-extern int errno;
 extern char *strerror ();
 #define EEOF -1