home *** CD-ROM | disk | FTP | other *** search
- /* Created: Wed Nov 10 13:02:10 1993 too
- * Last modified: Sun Apr 17 20:53:55 1994 too
- */
- #define SOCLIBNAME "bsdsocket.library"
- #define SOCLIBVERS 2
-
- #include <exec/types.h>
- #include <exec/nodes.h>
- #include <exec/ports.h>
- #include <exec/memory.h>
- #include <dos/dos.h>
- #include <dos/dosextens.h>
- #include <rexx/rexxio.h>
-
- #include "global.h"
-
- #define BSDSOCKET_H /* defining BSDSOCKET_H inhibitis automatic inline incl.*/
- #include <sys/types.h>
- #include <sys/time.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <sys/errno.h>
- #include <netinet/in.h>
- #include <amitcp/socketbasetags.h>
-
- #include "system_includes.h"
- #include "c.h"
- #include "applport.h"
- #include "handler.h"
- #include "dirindex.h"
- #include "args.h"
-
- #ifndef __GNUC__
- #include "runstart.h"
- #endif
-
- #include "debug.h"
-
- /*****************************************************************************/
-
- /*
- * in case of ...
- * handler.c:xxx: fixed or forbidden register was spilled.
- * This may be due to a compiler bug or to impossible asm statements.
- */
-
- LONG WaitSelect2(
- #ifdef __GNUC__
- struct Library * SocketBase,
- #endif
- int n,
- struct fd_set * r, struct fd_set * w, ULONG * s)
- {
- return WaitSelect(n, r, w, NULL, NULL, s);
- }
-
- #ifdef __GNUC__
- #define WaitSelect2(rest...) WaitSelect2(SocketBase, rest)
- #endif
-
- /****************************************************************************/
-
- #include "cleanup.h"
-