1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

unistd.h needs off_t

git-svn-id: svn://svn.cc65.org/cc65/trunk@2215 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-06-12 18:08:46 +00:00
parent a1d914d52d
commit 527d109931
2 changed files with 10 additions and 0 deletions

View File

@ -44,7 +44,11 @@
/* off_t is also defined in unistd.h */
#ifndef __HAVE_off_t
#define __HAVE_off_t
typedef long int off_t;
#endif

View File

@ -49,6 +49,12 @@
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
/* We need off_t if sys/types is not included */
#ifndef __HAVE_off_t
#define __HAVE_off_t
typedef long int off_t;
#endif
/*****************************************************************************/