#ifndef EXEC_DEVICES_H
#define EXEC_DEVICES_H

/*******************************************************************
 pOS / Amiga adapt
*******************************************************************/

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifndef __INC_POS_PEXEC_DEVICE_H
#include <pExec/Device.h>
#endif
#ifndef EXEC_LIBRARIES_H
#include <exec/libraries.h>
#endif
#ifndef EXEC_PORTS_H
#include <exec/ports.h>
#endif


struct Device
{
  struct Library dd_Library;
};

struct Unit
{
  struct MsgPort unit_MsgPort;
  UBYTE   unit_Flags;
  UBYTE   unit_pad;
  UWORD   unit_OpenCnt;
};



#define UNITF_ACTIVE    UNITF_Active
#define UNITF_INTASK    UNITF_InTask


#endif  /* EXEC_DEVICES_H */
