Changeset 346


Ignore:
Timestamp:
Jul 10, 2003, 6:45:43 PM (22 years ago)
Author:
bird
Message:

#427: Fixed crashes with sys/types.h

Location:
trunk/src/emx/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/io.h

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r345 r346  
    3737int fstat (int, struct stat *);
    3838int fsync (int);
     39#ifndef _FTRUNCATE_DECLARED
     40#define _FTRUNCATE_DECLARED
    3941int ftruncate (int, long);
     42#endif
    4043int ioctl (int, unsigned long request, ...);
    4144int isatty (int);
     45#ifndef _LSEEK_DECLARED
     46#define _LSEEK_DECLARED
    4247long lseek (int, long, int);
     48#endif
    4349int mkstemp (char *);
    4450char *mktemp (char *);
     
    5157int stat (__const__ char *, struct stat *);
    5258long tell (int);
     59#ifndef _LSEEK_DECLARED
     60#define _LSEEK_DECLARED
    5361int truncate (char *, long);
     62#endif
    5463int umask (int);
    5564int unlink (__const__ char *);
  • trunk/src/emx/include/unistd.h

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r345 r346  
    110110int isatty (int);
    111111/* link() */
     112#ifndef _LSEEK_DECLARED
     113#define _LSEEK_DECLARED
    112114long lseek (int, long, int);
     115#endif
    113116long pathconf (__const__ char *, int);
    114117int pause (void);
Note: See TracChangeset for help on using the changeset viewer.