More tweaks on Linux and Solaris.

This commit is contained in:
rsc 2003-11-25 02:11:11 +00:00
parent f7012583e9
commit 64bcfff3a1
14 changed files with 118 additions and 75 deletions

View file

@ -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)
{