// Copyright distributed.net 1997-1999 - All Rights Reserved
// For use in distributed.net projects only.
// Any other distribution or use of this source violates copyright.
//
// $Log: os2defs.h,v $
// Revision 1.4  1999/01/27 19:52:48  patrick
//
// Added some defines for OS2-EMX target
//
// Revision 1.3  1999/01/01 02:45:18  cramer
// Part 1 of 1999 Copyright updates...
//
// Revision 1.2  1998/07/01 08:11:39  ziggyb
// Added new header to support the new connection detection routines on DOD and
// lurk.
//
// Revision 1.1  1998/06/14 11:17:31  ziggyb
// initial add
//
//

#ifndef OS2DEFS_H
#define OS2DEFS_H

#define INCL_DOSPROCESS         /* For Disk functions */
#define INCL_DOSFILEMGR         /* For Dos_Delete */
#define INCL_ERRORS             /* DOS error values */
#define INCL_DOSMISC            /* DosQuerySysInfo() */
#define INCL_WINWORKPLACE       /* Workplace shell objects */
#define INCL_VIO                /* OS/2 text graphics functions */
#include <os2.h>

extern "C" {
#ifndef __WATCOMC__
  // all compilers I have use sys/types.h (patrick)
  #include <sys/types.h>
  #include <string.h>
#else
  #include <types.h>
#endif
#ifdef __EMX__
  // defined isprint, ...
  #include <ctype.h>
#endif
#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <sys/stat.h>     // for stat()
}

#endif
