summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-29 12:15:31 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-29 12:15:31 +0000
commit84b865afa6204697372b5cb696086636b4a195fb (patch)
treece2c4ac335556e8d4be5c7f571c5325d031cb5cd /rbutil
parent3de61b4c44c29165ead56f233316c96b781de65c (diff)
downloadrockbox-84b865afa6204697372b5cb696086636b4a195fb.tar.gz
rockbox-84b865afa6204697372b5cb696086636b4a195fb.tar.bz2
rockbox-84b865afa6204697372b5cb696086636b4a195fb.zip
mntent.h should only be used on linux, not os x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14902 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/autodetection.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/autodetection.cpp b/rbutil/rbutilqt/autodetection.cpp
index e4d2e201e2..f2ba8df756 100644
--- a/rbutil/rbutilqt/autodetection.cpp
+++ b/rbutil/rbutilqt/autodetection.cpp
@@ -21,9 +21,11 @@
#if defined(Q_OS_LINUX) || defined(Q_OS_MACX)
#include <stdio.h>
-#include <mntent.h>
#include <usb.h>
#endif
+#if defined(Q_OS_LINUX)
+#include <mntent.h>
+#endif
#if defined(Q_OS_WIN32)
#if defined(UNICODE)
#define _UNICODE