diff options
author | Oleg Gerasimov <ogerasimov@gmail.com> | 2016-08-13 21:05:49 +0300 |
---|---|---|
committer | Oleg Gerasimov <ogerasimov@gmail.com> | 2016-08-20 17:52:09 +0300 |
commit | 09c5c313030b5f8f4e882b15f60371ff70bc2ce4 (patch) | |
tree | ec3964d22f7e98a9bcfd679fed5aa7dfd7a6a612 /src/gos | |
parent | 9d880dbb56bd8ad0d542b12edb0085f3a31029bc (diff) | |
download | uGFX-09c5c313030b5f8f4e882b15f60371ff70bc2ce4.tar.gz uGFX-09c5c313030b5f8f4e882b15f60371ff70bc2ce4.tar.bz2 uGFX-09c5c313030b5f8f4e882b15f60371ff70bc2ce4.zip |
Fix clang build warnings
Diffstat (limited to 'src/gos')
-rw-r--r-- | src/gos/gos_osx.h | 1 | ||||
-rw-r--r-- | src/gos/gos_qt.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gos/gos_osx.h b/src/gos/gos_osx.h index 44853937..9a8e10d9 100644 --- a/src/gos/gos_osx.h +++ b/src/gos/gos_osx.h @@ -13,6 +13,7 @@ #include <sys/types.h> #include <stdint.h> #include <pthread.h> +#include <stdlib.h> /* Already defined int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, size_t */ diff --git a/src/gos/gos_qt.cpp b/src/gos/gos_qt.cpp index 1708a478..e3a0f0ca 100644 --- a/src/gos/gos_qt.cpp +++ b/src/gos/gos_qt.cpp @@ -7,12 +7,12 @@ #include "../../gfx.h" +#if GFX_USE_OS_QT #include <QMutex> #include <QSemaphore> #include <QThread> #include <QElapsedTimer> -#if GFX_USE_OS_QT class Thread : public QThread { |