diff options
author | Don Kjer <don@lindenlab.com> | 2012-10-11 00:09:04 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-10-11 00:09:04 +0000 |
commit | c06c35609c6683731eaea283468f6b32af18fea2 (patch) | |
tree | 69e067fb2d8d602948d618ec7cb71ace149d6e39 /indra/linux_updater | |
parent | 19e43e4b588d4aec8f23498993a3a22c0e08a329 (diff) |
Updating linux build to gcc4.6
Diffstat (limited to 'indra/linux_updater')
-rw-r--r-- | indra/linux_updater/CMakeLists.txt | 4 | ||||
-rw-r--r-- | indra/linux_updater/linux_updater.cpp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/indra/linux_updater/CMakeLists.txt b/indra/linux_updater/CMakeLists.txt index c4e25f4a04..4a9e82f9b6 100644 --- a/indra/linux_updater/CMakeLists.txt +++ b/indra/linux_updater/CMakeLists.txt @@ -24,6 +24,10 @@ include_directories( ${OPENSSL_INCLUDE_DIRS} ${UI_INCLUDE_DIRS} ) +include_directories(SYSTEM + ${LLCOMMON_SYSTEM_INCLUDE_DIRS} + ${LLXML_SYSTEM_INCLUDE_DIRS} + ) set(linux_updater_SOURCE_FILES linux_updater.cpp) diff --git a/indra/linux_updater/linux_updater.cpp b/indra/linux_updater/linux_updater.cpp index 277f0a5367..e3ee137897 100644 --- a/indra/linux_updater/linux_updater.cpp +++ b/indra/linux_updater/linux_updater.cpp @@ -812,7 +812,6 @@ void parse_args_and_init(int argc, char **argv, UpdaterAppState *app_state) int main(int argc, char **argv) { UpdaterAppState* app_state = new UpdaterAppState; - GThread *worker_thread; parse_args_and_init(argc, argv, app_state); @@ -842,8 +841,7 @@ int main(int argc, char **argv) //llinfos << "SAMPLE TRANSLATION IS: " << LLTrans::getString("LoginInProgress") << llendl; // create download thread - worker_thread = g_thread_create - (GThreadFunc(worker_thread_cb), app_state, FALSE, NULL); + g_thread_create(GThreadFunc(worker_thread_cb), app_state, FALSE, NULL); gdk_threads_enter(); gtk_main(); |