diff options
author | Leith Bade <leith@mapbox.com> | 2015-02-11 19:01:30 -0800 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2015-02-11 19:01:30 -0800 |
commit | acfeda98990d792280c321a7718ad8010428eddf (patch) | |
tree | 7035a1f099f4b56098b66976a58de7e81462eb1d /include | |
parent | 4ca21db5dfec46f9052c39eb9b5228bd7a323f41 (diff) | |
download | qtlocation-mapboxgl-acfeda98990d792280c321a7718ad8010428eddf.tar.gz |
Fix #include <uv.h> mixing between C and C++ modes
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/util/uv-messenger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/util/uv-messenger.h b/include/mbgl/util/uv-messenger.h index 946867fe8b..35c5ce2188 100644 --- a/include/mbgl/util/uv-messenger.h +++ b/include/mbgl/util/uv-messenger.h @@ -1,12 +1,12 @@ #ifndef MBGL_UTIL_UV_MESSENGER #define MBGL_UTIL_UV_MESSENGER +#include <uv.h> + #ifdef __cplusplus extern "C" { #endif -#include <uv.h> - typedef struct uv_messenger_s uv_messenger_t; typedef void (*uv_messenger_cb)(void *arg); typedef void (*uv_messenger_stop_cb)(uv_messenger_t *msgr); |