diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-09-29 12:15:31 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-09-29 12:15:31 +0000 |
commit | 84b865afa6204697372b5cb696086636b4a195fb (patch) | |
tree | ce2c4ac335556e8d4be5c7f571c5325d031cb5cd | |
parent | 3de61b4c44c29165ead56f233316c96b781de65c (diff) | |
download | rockbox-84b865afa6204697372b5cb696086636b4a195fb.tar.gz 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
-rw-r--r-- | rbutil/rbutilqt/autodetection.cpp | 4 |
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 @@ | |||
21 | 21 | ||
22 | #if defined(Q_OS_LINUX) || defined(Q_OS_MACX) | 22 | #if defined(Q_OS_LINUX) || defined(Q_OS_MACX) |
23 | #include <stdio.h> | 23 | #include <stdio.h> |
24 | #include <mntent.h> | ||
25 | #include <usb.h> | 24 | #include <usb.h> |
26 | #endif | 25 | #endif |
26 | #if defined(Q_OS_LINUX) | ||
27 | #include <mntent.h> | ||
28 | #endif | ||
27 | #if defined(Q_OS_WIN32) | 29 | #if defined(Q_OS_WIN32) |
28 | #if defined(UNICODE) | 30 | #if defined(UNICODE) |
29 | #define _UNICODE | 31 | #define _UNICODE |