fixed warnings and errors
[fw/sdcc] / as / asranlib / asranlib.c
index ba92f7e17b4842d7bf663be3945df859ea148299..ab13c6785b857739342ffda4c68af151f5d16f4d 100644 (file)
@@ -26,7 +26,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
 #ifdef _WIN32
 #include <io.h>
-#define mktemp  _mktemp
+#else
+#include <unistd.h>
 #endif
 
 #define NELEM(x)  (sizeof (x) / sizeof (*x))