]> git.sur5r.net Git - cc65/commitdiff
read is now in unistd.h
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Jun 2003 19:59:13 +0000 (19:59 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Jun 2003 19:59:13 +0000 (19:59 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2220 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/serial/ser_load.c

index 692a9cde379478bb4b7397fd4f22bbdde7c46ec6..2673b21decd3f4e5358598b37a4eceb856afe84c 100644 (file)
@@ -34,6 +34,7 @@
 
 
 #include <string.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <modload.h>
 #include <serial.h>
@@ -76,7 +77,7 @@ unsigned char __fastcall__ ser_load_driver (const char* name)
 
         /* Load the module */
         Res = mod_load (&ctrl);
-
+                   
         /* Close the input file */
         close (ctrl.callerdata);