only include mntent.h according to HAVE_MNTENT_H and dont define this on OS X

This commit is contained in:
Mike Frysinger
2008-02-07 22:10:07 +00:00
parent b386c1c614
commit 22876c797c
2 changed files with 5 additions and 2 deletions

View File

@ -146,7 +146,7 @@ typedef int socklen_t;
#endif
/* ---- Compiler dependent settings ------------------------- */
#if (defined __digital__ && defined __unix__)
#if (defined __digital__ && defined __unix__) || defined __APPLE__
# undef HAVE_MNTENT_H
#else
# define HAVE_MNTENT_H 1