mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-23 14:04:20 +02:00
Retrieve gettimeofday() from sys/time.h
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
61f3fadfbf
commit
d40ec873a7
4 changed files with 16 additions and 12 deletions
|
|
@ -25,6 +25,10 @@ pub const time = @cImport({
|
|||
@cInclude("time.h");
|
||||
});
|
||||
|
||||
pub const system_time = @cImport({
|
||||
@cInclude("sys/time.h");
|
||||
});
|
||||
|
||||
pub const stdlib = @cImport({
|
||||
@cInclude("stdlib.h");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue