mirror of
https://github.com/cc65/cc65.git
synced 2024-12-21 20:29:24 +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:
parent
a1d914d52d
commit
527d109931
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user