summaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorMike Frysinger2008-02-07 22:10:07 +0000
committerMike Frysinger2008-02-07 22:10:07 +0000
commit22876c797cdd848b42f98da7c2ae886cc07ca00d (patch)
tree92a5af04ce8aa8ecc9a8370a6917a9d335000a89 /include/platform.h
parentb386c1c614a94b847da7d059367bc9d4fcb33f14 (diff)
downloadbusybox-22876c797cdd848b42f98da7c2ae886cc07ca00d.zip
busybox-22876c797cdd848b42f98da7c2ae886cc07ca00d.tar.gz
only include mntent.h according to HAVE_MNTENT_H and dont define this on OS X
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 2daa077..050338c 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -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