diff options
author | Mike Frysinger | 2008-02-07 22:10:07 +0000 |
---|---|---|
committer | Mike Frysinger | 2008-02-07 22:10:07 +0000 |
commit | 22876c797cdd848b42f98da7c2ae886cc07ca00d (patch) | |
tree | 92a5af04ce8aa8ecc9a8370a6917a9d335000a89 /include/libbb.h | |
parent | b386c1c614a94b847da7d059367bc9d4fcb33f14 (diff) | |
download | busybox-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/libbb.h')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 028116f..ccfe1b7 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -17,7 +17,6 @@ #include <errno.h> #include <fcntl.h> #include <inttypes.h> -#include <mntent.h> #include <netdb.h> #include <setjmp.h> #include <signal.h> @@ -46,6 +45,10 @@ #define PATH_MAX 256 #endif +#ifdef HAVE_MNTENT_H +#include <mntent.h> +#endif + #if ENABLE_SELINUX #include <selinux/selinux.h> #include <selinux/context.h> |