home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROS_m68k_bin.lha / AROS / include / stddef.h < prev    next >
C/C++ Source or Header  |  1997-02-08  |  369b  |  20 lines

  1. #ifndef _STDDEF_H
  2. #define _STDDEF_H
  3.  
  4. /*
  5.     (C) 1995-96 AROS - The Amiga Replacement OS
  6.     $Id: stddef.h,v 1.1 1996/10/19 16:56:30 aros Exp $
  7.  
  8.     Desc: ANSI-C header file stddef.h
  9.     Lang: english
  10. */
  11. #ifndef _SYS_TYPES_H
  12. #include <sys/types.h>
  13. #endif
  14.  
  15. #ifndef offsetof
  16. #define offsetof(TYPE,MEMBER)     ((size_t) &((TYPE *)0)->MEMBER)
  17. #endif
  18.  
  19. #endif /* _STDDEF_H */
  20.