]> git.sur5r.net Git - cc65/commitdiff
Restructured former fcntl.h, added new include files unistd.h and sys/types.h.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Jun 2003 18:08:23 +0000 (18:08 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Jun 2003 18:08:23 +0000 (18:08 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2214 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/fgetc.c
libsrc/common/fputc.c
libsrc/common/fputs.c
libsrc/common/ftell.c
libsrc/common/puts.c
libsrc/common/sleep.c
libsrc/em/em_load.c
libsrc/joystick/joy_load.c
libsrc/tgi/tgi_load.c

index e9bb7d5a7f625f79a88997b57fdbf280f6f9d8a8..c7d30d4bcbd087ab62ac3feb553f1ace4a1f9648 100644 (file)
@@ -8,7 +8,7 @@
 
 
 #include <stdio.h>
-#include <fcntl.h>
+#include <unistd.h>
 #include <errno.h>
 #include "_file.h"
 
index fdae61768d78b01167d386c46e89a5a6b5de8cb7..2bb01a432a4cd496b7c5df1a3cb4db07b4fdbf36 100644 (file)
@@ -7,7 +7,7 @@
 
 
 #include <stdio.h>
-#include <fcntl.h>
+#include <unistd.h>
 #include "_file.h"
 
 
index 439c6cf6c5b9bd6f02b2b7e97b9ebdf09b299d90..3b07d8e4d848b5e058deb1899677d3f1aa271b1d 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <fcntl.h>
+#include <unistd.h>
 #include "_file.h"
 
 
index d345a74f4558d7e10eb50d4db18c14dcce869f55..317e3ee032a22e90261ec6009ad04d7bc6849ee5 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <stdio.h>
 #include <errno.h>
-#include <fcntl.h>
+#include <unistd.h>
 #include "_file.h"
 
 
index e3522c7b3171012632cdb2fe9fbf85504de96966..18b2e9ab1cb03ecf944c7387a6053be820b2154b 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <fcntl.h>
+#include <unistd.h>
 #include "_file.h"
 
 
index d97797b00ed56ba3ea2afaf661848d90528d0955..a8fc4b32e401dbb8076d15998dea86302ca68f50 100644 (file)
@@ -8,7 +8,8 @@
 
 
 
-#include <time.h>
+#include <time.h>     
+#include <unistd.h>
 
 
 
index b3610bb32d40fa3bd1a98db982fa982bbc93c798..071eaa96e6bf06f5666a1d22d38a7f1ec62c7a5a 100644 (file)
@@ -34,6 +34,7 @@
 
 
 #include <string.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <modload.h>
 #include <em.h>
index e3b61d7c3d3e5d4b6916917d8f91b40541f77fb9..33c49dd62c44c00ed6b3da7eeda820a4e2f61908 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2002      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2002-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -34,6 +34,7 @@
 
 
 #include <string.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <modload.h>
 #include <joystick.h>
index 17a8de02edeedbca670993a58a07de1a353fdeda..657f42194b6703fddbafd5918ebe8185100d1a34 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2002      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2002-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -34,6 +34,7 @@
 
 
 #include <string.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <modload.h>
 #include <tgi.h>