Skip to content

Commit e1fa50a

Browse files
authored
Merge pull request #7 from guhaoyu2005/master
Update Gids.cc to make it work with BSD family
2 parents d29f0f4 + 4758874 commit e1fa50a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Gids.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
#if !defined(_WIN32)
77
#include <grp.h>
88
#include <pwd.h>
9-
10-
// BSD needs unistd.h for getgrouplist function
11-
#if defined(BSD) || defined(__APPLE__)
129
#include <unistd.h>
13-
#endif
1410

1511
#else
1612
// Mocks for Windows

0 commit comments

Comments
 (0)