Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Fix druntime for dragonflybsd (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkgroot authored and JohanEngelen committed May 7, 2018
1 parent d5f311e commit ded46d8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/core/sys/posix/pwd.d
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,8 @@ else version( OpenBSD )
}
else version( DragonFlyBSD )
{
alias getpwnam_r = __posix_getpwnam_r;
alias getpwuid_r = __posix_getpwuid_r;

// POSIX.1c standard version of the functions
int __posix_getpwnam_r(in char*, passwd*, char*, size_t, passwd**);
int __posix_getpwuid_r(uid_t, passwd*, char*, size_t, passwd**);
int getpwnam_r(in char*, passwd*, char*, size_t, passwd**);
int getpwuid_r(uid_t, passwd*, char*, size_t, passwd**);
}
else version (Solaris)
{
Expand Down

0 comments on commit ded46d8

Please sign in to comment.