diff src/unexmips.c @ 412:697ef44129c6 r21-2-14

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