mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-20 20:44:19 +02:00
Incorporate some FreeBSD authentication patches
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
19d4b195f3
commit
2dd83b41e8
2 changed files with 28 additions and 9 deletions
|
|
@ -12,6 +12,7 @@ pub const utmp = @cImport({
|
|||
@cInclude("utmpx.h");
|
||||
});
|
||||
|
||||
// Exists for X11 support only
|
||||
pub const xcb = @cImport({
|
||||
@cInclude("xcb/xcb.h");
|
||||
});
|
||||
|
|
@ -20,6 +21,11 @@ pub const unistd = @cImport({
|
|||
@cInclude("unistd.h");
|
||||
});
|
||||
|
||||
// Exists for FreeBSD only
|
||||
pub const logincap = @cImport({
|
||||
@cInclude("login_cap.h");
|
||||
});
|
||||
|
||||
pub const c_size = u64;
|
||||
pub const c_uid = u32;
|
||||
pub const c_gid = u32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue