=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/stdlib.h,v retrieving revision 1.36 retrieving revision 1.37 diff -c -r1.36 -r1.37 *** src/include/stdlib.h 2006/01/06 18:53:04 1.36 --- src/include/stdlib.h 2006/01/13 17:58:09 1.37 *************** *** 1,4 **** ! /* $OpenBSD: stdlib.h,v 1.36 2006/01/06 18:53:04 millert Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: stdlib.h,v 1.37 2006/01/13 17:58:09 millert Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- *************** *** 62,67 **** --- 62,74 ---- long rem; /* remainder */ } ldiv_t; + #if __ISO_C_VISIBLE >= 1999 + typedef struct { + long long quot; /* quotient */ + long long rem; /* remainder */ + } lldiv_t; + #endif + #if __BSD_VISIBLE typedef struct { quad_t quot; /* quotient */ *************** *** 182,188 **** /* * ISO C99 */ ! #if __BSD_VISIBLE || __ISO_C_VISIBLE >= 1999 long long atoll(const char *); long long --- 189,195 ---- /* * ISO C99 */ ! #if __ISO_C_VISIBLE >= 1999 long long atoll(const char *); long long