Changeset 341


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

#427: adjustments to make it includeable all by it self.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/sys/select.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r340 r341  
    7070#endif /* !FD_SET */
    7171
     72/* bird: baka baka! need memset prototype which needs size_t. */
     73#include <sys/_types.h>
     74#if !defined(_SIZE_T_DECLARED) && !defined(_SIZE_T) /* bird: emx */
     75typedef __size_t        size_t;
     76#define _SIZE_T_DECLARED
     77#define _SIZE_T                         /* bird: emx */
     78#endif
     79
    7280struct timeval;
    7381int select (int, struct fd_set *, struct fd_set *, struct fd_set *, struct timeval *);
     
    7886#warning int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *, const sigset_t *);
    7987#endif
     88
    8089
    8190#ifdef TCPV40HDRS
     
    96105/* toolkit BSD pollution: */
    97106#ifndef TCPV40HDRS
     107#include <sys/_types.h>
     108#if !defined(_PID_T_DECLARED) && !defined(_PID_T) /* bird:emx */
     109typedef __pid_t         pid_t;          /* process id */
     110#define _PID_T_DECLARED
     111#define _PID_T                          /* bird: emx */
     112#endif
     113
    98114/*
    99115 * Used to maintain information about processes that wish to be
Note: See TracChangeset for help on using the changeset viewer.