]> git.sur5r.net Git - cc65/commitdiff
include unistd.h -- fix by Daniel Serpell
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Nov 2009 17:59:55 +0000 (17:59 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Nov 2009 17:59:55 +0000 (17:59 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4490 b7a2c559-68d2-44c3-8de9-860c34a00d81

testcode/lib/ft.c
testcode/lib/posixio-test.c

index c887e1c87f1eff8d5c47eb87636094e77f4be823..efbab3627aa8858acbe49f6eaaef45b8491d57b2 100644 (file)
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <conio.h>
+#include <unistd.h>
 
 extern int getsp(void);  /* is provided in getsp.s */
 
index eaa60d35715c62c6ceb4dd4e0dd4e3f2dc309677..26d416a5801c3b53ac17c874918a5b769c988e46 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <fcntl.h>
-
+#include <unistd.h>
 
 
 int Open (const char* Name, int Flags)