More tweaks on Linux and Solaris.
This commit is contained in:
parent
f7012583e9
commit
64bcfff3a1
14 changed files with 118 additions and 75 deletions
|
|
@ -4,13 +4,19 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef _HAVEDISKLABEL
|
||||
#include <sys/disklabel.h>
|
||||
#endif
|
||||
#include <dirent.h>
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#include <sys/disklabel.h>
|
||||
#define _HAVEDISKLABEL
|
||||
#endif
|
||||
|
||||
#if !defined(__linux__) && !defined(__sun__)
|
||||
#define _HAVESTGEN
|
||||
#endif
|
||||
|
||||
int
|
||||
_p9dir(struct stat *st, char *name, Dir *d, char **str, char *estr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue