diff options
author | Jorge Aparicio <jorge.aparicio.r@gmail.com> | 2012-08-27 22:48:22 -0500 |
---|---|---|
committer | Denis Shienkov <scapig@yandex.ru> | 2012-08-28 21:22:36 +0200 |
commit | f1c15b0f33887f40066d67c8431b261e6a1cfe84 (patch) | |
tree | d197b16bc9fd9bdfa1604260f800d4b13526a979 | |
parent | 5c88b44995502677144a1fa622c4ddc3863011ff (diff) | |
download | qtserialport-f1c15b0f33887f40066d67c8431b261e6a1cfe84.tar.gz |
Linux + udev: Fixed misplaced header file
Commit 5c88b44995502677144a1fa622c4ddc3863011ff resulted in a
header file being misplaced inside a conditional macro block,
when it's needed by a function that's is defined outside of all
the conditional macro blocks.
Change-Id: I3ac778e92e223b624ef12e12583ca9288b29d68e
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Denis Shienkov <scapig@yandex.ru>
-rwxr-xr-x | src/serialportinfo_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialportinfo_unix.cpp b/src/serialportinfo_unix.cpp index 495d93b..5ab2bce 100755 --- a/src/serialportinfo_unix.cpp +++ b/src/serialportinfo_unix.cpp @@ -45,6 +45,7 @@ #include "serialportinfo_p.h" #include "ttylocker_unix_p.h" #include "serialportengine_unix_p.h" +#include <QtCore/qfile.h> #ifndef Q_OS_MAC @@ -56,7 +57,6 @@ extern "C" #else #include <QtCore/qdir.h> #include <QtCore/qstringlist.h> -#include <QtCore/qfile.h> #endif QT_BEGIN_NAMESPACE_SERIALPORT |