mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-04 03:36:36 +02:00
Including sys/resource.h for struct rusage.
This commit is contained in:
parent
2f55732dbf
commit
7a2f0e553f
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@
|
||||||
|
|
||||||
(cond-expand
|
(cond-expand
|
||||||
((or bsd linux)
|
((or bsd linux)
|
||||||
|
(c-system-include "sys/resource.h")
|
||||||
(define-c-struct rusage
|
(define-c-struct rusage
|
||||||
predicate: rusage?
|
predicate: rusage?
|
||||||
((struct timeval) ru_utime resource-usage-time)
|
((struct timeval) ru_utime resource-usage-time)
|
||||||
|
|
Loading…
Add table
Reference in a new issue