
#define SHMLBA	(__getpagesize())

typedef unsigned long shmatt_t;

struct shmid_ds
{
  struct ipc_perm shm_perm;
  unsigned int __unused1;
  time_t shm_atime;
  unsigned int __unused2;
  time_t shm_dtime;
  unsigned int __unused3;
  time_t shm_ctime;
  unsigned int __unused4;
  size_t shm_segsz;
  pid_t shm_cpid;
  pid_t shm_lpid;
  shmatt_t shm_nattch;
  unsigned long __unused5;
  unsigned long __unused6;
}
 ;
